Skip to content

Commit

Permalink
Use the new avatar endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
livid committed Sep 8, 2024
1 parent b823769 commit 4e6d1e4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/App/routes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ func routes(_ app: Application) throws {
name = resolvedName
displayName = name
if let resolver = try? await enskit.resolver(name: resolvedName) {
if let avatar = try? await resolver.getAvatar(),
let avatarURL = try? await resolver.getAvatarImageURL(from: avatar)
{
avatarURLString = avatarURL.absoluteString
}
if let contentHashURL = try? await resolver.contenthash() {
contentHash = contentHashURL.absoluteString
}
Expand Down

0 comments on commit 4e6d1e4

Please sign in to comment.