So I am trying to build an application in which I need to pass the account as queury. How can I achieve this?
My proposed solution (which is not working obviously):
let account = '0x74c7b157af4E5418F03eb928DF309cc98CE38E66';
const GET_ACTIVE_ITEM = gql`
{
activeFiles(
first: 5
where: {Account_contains: ${account}}
) {
id
tokenId
ipfsHash
Account
Privilege
}
}`
Error message I got