Skip to content

Commit

Permalink
🔧 variable array
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Sep 24, 2024
1 parent 02e842c commit 13f9c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/SquidClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SquidClient implements AbstractClient<SquidCollection, SquidNFT> {
const toQuery = getFields(fields)
const list = JSON.stringify(id.split(','))
return build(
`collections: collectionEntities(where: {id_in: [${list}]})`,
`collections: collectionEntities(where: {id_in: ${list}})`,
toQuery,
)
}
Expand Down

0 comments on commit 13f9c1b

Please sign in to comment.