Skip to content

Commit

Permalink
ABW-1944 NFT images (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciek-rdx committed Jul 26, 2023
1 parent c331ab7 commit db6b9c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Clients/GatewayAPI/GatewayAPI+Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ extension GatewayAPI.EntityMetadataCollection {
}

public var iconURL: URL? {
items[.iconURL]?.asString.flatMap(URL.init)
items[.iconURL]?.asURL
}

public var dappDefinition: String? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ extension DappMetadata.Ledger {
dAppDefinintionAddress: dAppDefinintionAddress,
name: name,
description: items[.description]?.asString,
thumbnail: items[.iconURL]?.asString.flatMap(URL.init)
thumbnail: items[.iconURL]?.asURL
)
}
}

0 comments on commit db6b9c9

Please sign in to comment.