Skip to content

Commit 6e4602d

Browse files
committed
fix: sanitize icon URL in token metadata response
1 parent 5ff8b7e commit 6e4602d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gator-permissions-snap/src/clients/accountApiClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class AccountApiClient {
279279
balance,
280280
decimals: metadata.decimals,
281281
symbol: metadata.symbol,
282-
...(metadata.iconUrl && { iconUrl: metadata.iconUrl }),
282+
...(sanitizedIconUrl && { iconUrl: sanitizedIconUrl }),
283283
};
284284

285285
if (sanitizedIconUrl) {

0 commit comments

Comments
 (0)