IO-2949 change fetch policy on client to resolve issue.

This commit is contained in:
Patrick Fic
2024-09-20 09:50:08 -07:00
parent 3b1da6901d
commit bece3278f4

View File

@@ -36,7 +36,8 @@ export function* openChatByPhone({ payload }) {
data: { conversations }
} = yield client.query({
query: CONVERSATION_ID_BY_PHONE,
variables: { phone: p.number }
variables: { phone: p.number },
fetchPolicy: 'no-cache'
});
if (conversations.length === 0) {