Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Akamu
Game Client iOS
Commits
d1017b5c
Commit
d1017b5c
authored
Jul 17, 2020
by
Maurice Kraus
Browse files
docs(core): this adds a new todo
parent
813da292
Changes
1
Hide whitespace changes
Inline
Side-by-side
AkamuCore/Sources/AkamuCore/DataLayer/Repositories/Remote/Avatar/Implementations/ServerAvatarRemoteAPI.swift
View file @
d1017b5c
...
...
@@ -25,6 +25,7 @@ class ServerAvatarRemoteAPI: AvatarRemoteAPI {
}
func
getAvatar
(
with
id
:
Int
)
->
Single
<
Avatar
>
{
// TODO: Single avatar endpoint
getUnlockedAvatars
()
.
map
{
avatar
->
Avatar
in
avatar
.
first
{
$0
.
id
==
id
}
??
Avatar
.
getDefault
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment