Skip to content

Commit

Permalink
Merge pull request #298 from kodadot/main
Browse files Browse the repository at this point in the history
Update metadata.ts
  • Loading branch information
vikiival authored Aug 23, 2024
2 parents 3d16b10 + 6e00bd5 commit 566c948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappings/utils/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const fetchMetadata = async <T extends Content>(metadata: string): Promis
if (!metadata) {
return ensure<T>({})
}
const value = await $obtain<T>(metadata, ['kodadot', 'w3s'], true)
const value = await $obtain<T>(metadata, ['kodadot'], true)
return contentFrom(value as any) as T
} catch (e) {
logger.error(`[MINIPFS] ${e}`)
Expand Down

0 comments on commit 566c948

Please sign in to comment.