Skip to content

Commit

Permalink
fix(core): correctly add argument to invocation (#3604)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored Jun 5, 2024
1 parent ff1fd76 commit bf01d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const createRequest = <
): GraphQLRequest<Data, Variables> => {
const variables = _variables || ({} as Variables);
const query = keyDocument(_query);
const printedVars = stringifyVariables(variables);
const printedVars = stringifyVariables(variables, true);
let key = query.__key;
if (printedVars !== '{}') key = phash(printedVars, key);
return { key, query, variables, extensions };
Expand Down

0 comments on commit bf01d6b

Please sign in to comment.