From e9dc414fbd25a2559e4fac7a14a0a694530e289e Mon Sep 17 00:00:00 2001 From: Varun Ratnakar Date: Tue, 26 Oct 2021 13:54:58 +0400 Subject: [PATCH] No cache for thread query --- src/classes/graphql/graphql_functions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classes/graphql/graphql_functions.ts b/src/classes/graphql/graphql_functions.ts index 8faa788..9dfb1f6 100644 --- a/src/classes/graphql/graphql_functions.ts +++ b/src/classes/graphql/graphql_functions.ts @@ -109,6 +109,7 @@ export const getThread = async(threadid: string) : Promise => { let APOLLO_CLIENT = GraphQL.instance(KeycloakAdapter.getUser()); return APOLLO_CLIENT.query({ query: getThreadGQL, + fetchPolicy: 'no-cache', variables: { id: threadid }