diff --git a/src/components/Contexts/SubmissionContext.tsx b/src/components/Contexts/SubmissionContext.tsx index 0d0fb440..1c712204 100644 --- a/src/components/Contexts/SubmissionContext.tsx +++ b/src/components/Contexts/SubmissionContext.tsx @@ -128,6 +128,9 @@ export const SubmissionProvider: FC = ({ _id, children }: Provide updateQuery, } = useQuery(GET_SUBMISSION, { notifyOnNetworkStatusChange: true, + variables: { id: _id }, + context: { clientName: "backend" }, + fetchPolicy: "cache-and-network", onCompleted: (d) => { const isValidating = d?.getSubmission?.fileValidationStatus === "Validating" ||