diff --git a/src/app/modules/form/public-form/public-form.controller.ts b/src/app/modules/form/public-form/public-form.controller.ts index 04998ff26f..c490f81973 100644 --- a/src/app/modules/form/public-form/public-form.controller.ts +++ b/src/app/modules/form/public-form/public-form.controller.ts @@ -337,9 +337,7 @@ export const handleGetPublicFormSampleSubmission: ControllerHandler< formId, } - const formResult = await getFormIfPublic(formId).andThen((form) => - FormService.checkFormSubmissionLimitAndDeactivateForm(form), - ) + const formResult = await getFormIfPublic(formId) // Early return if form is not public or any error occurred. if (formResult.isErr()) { const { error } = formResult