Skip to content

Commit

Permalink
feat: remove unnecessary 0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspang committed Sep 8, 2023
1 parent fa059d5 commit 3481e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/alchemy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function getLogs(editionId: number) {
return publicClient.getLogs({
address: ProjectContractAddress,
args: {
editionId: BigInt(editionId || 0)
editionId: BigInt(editionId)
},
event: {
anonymous: false,
Expand Down

0 comments on commit 3481e87

Please sign in to comment.