Skip to content

Commit

Permalink
Fix DAO metadata query
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Mar 21, 2024
1 parent ff82f24 commit 7d8b53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/data/subgraph/requests/daoMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const encodedDaoMetadataRequest = async (
if (!L1_CHAINS.find((x) => x === chain)) throw new Error('Only L1 Chains are supported')

const res = await SDK.connect(chain)
.daoMetadata({ tokenAddress, first: 1000 })
.daoMetadata({ tokenAddress: tokenAddress.toLowerCase(), first: 1000 })
.then((x) => x.dao?.metadataProperties)

if (!res) throw new Error('No metadata found')
Expand Down

0 comments on commit 7d8b53e

Please sign in to comment.