Commit d1017b5c authored by Maurice Kraus's avatar Maurice Kraus
Browse files

docs(core): this adds a new todo

parent 813da292
......@@ -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()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment