Skip to content

Commit

Permalink
Fix to Value not a boolean issue
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmardefago committed Oct 22, 2021
1 parent 54c0f8e commit c0a3c47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mappings/metadataHelpers.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export function fetchGraphAccountMetadata(graphAccount: GraphAccount, ipfsHash:
tlw.description = graphAccount.description
tlw.image = graphAccount.image
tlw.displayName = graphAccount.displayName
tlw.isOrganization = graphAccount.isOrganization
if (isOrganization != null && isOrganization.kind === JSONValueKind.BOOL) {
tlw.isOrganization = isOrganization.toBool()
}
tlw.website = graphAccount.website
tlw.save()
}
Expand Down

0 comments on commit c0a3c47

Please sign in to comment.