Skip to content

Commit

Permalink
fix: virus scan conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
LinHuiqing committed Oct 2, 2023
1 parent 6895fa9 commit 50dccc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/features/public-form/PublicFormProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ export const PublicFormProvider = ({
},
})

if (enableVirusScanner) {
if (routeToNewStorageModeSubmission && enableVirusScanner) {
return (
submitStorageModeClearFormWithVirusScanningMutation
.mutateAsync(formData, {
Expand Down

0 comments on commit 50dccc6

Please sign in to comment.