Updated apollo fetch policies to always be network only.

This commit is contained in:
Patrick Fic
2021-12-14 13:14:21 -08:00
parent 920c8f6910
commit 94c4b07318
91 changed files with 1450 additions and 1657 deletions

View File

@@ -29,7 +29,6 @@ export function* calculateScheduleLoad({ payload: end }) {
start: today,
end: end,
},
fetchPolicy: "network-only",
});
const { prodJobs, arrJobs, compJobs } = result.data;

View File

@@ -40,7 +40,6 @@ export function* openChatByPhone({ payload }) {
} = yield client.query({
query: CONVERSATION_ID_BY_PHONE,
variables: { phone: phone(phone_num).phoneNumber },
fetchPolicy: "network-only",
});
if (conversations.length === 0) {