Skip to content

Commit

Permalink
Deactivate cache
Browse files Browse the repository at this point in the history
Its changing data and createing fake results in destiantion org
  • Loading branch information
Onitoxan committed Jan 17, 2025
1 parent ffd56b4 commit 826875c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/hpc-live/src/lib/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,10 @@ export class LiveModel implements Model {
query: DocumentNode;
resultType: t.Type<T>;
}) => {
const res = await this.apolloClient.query<T>({ query });
const res = await this.apolloClient.query<T>({
query,
fetchPolicy: 'no-cache',
});

if (!res.error && !res.errors) {
const data = res.data;
Expand Down

0 comments on commit 826875c

Please sign in to comment.