Skip to content

Commit

Permalink
fix: add missing key in record (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphazardous authored Mar 18, 2024
1 parent 714b587 commit 6188a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const prep = <T> (...args: any[]) => {
options.watch.push(variables)
}

const key: string = args?.[0]?.key || hash({ query: print(query), unref(variables), clientId })
const key: string = args?.[0]?.key || hash({ query: print(query), variables: unref(variables), clientId })

const fn = () => clients![clientId!]?.query<T>({
query,
Expand Down

0 comments on commit 6188a17

Please sign in to comment.