From c4f2bcccd857490fdb046f55b8c5be9a604b342c Mon Sep 17 00:00:00 2001 From: Cameron Paczek Date: Thu, 22 Sep 2022 21:30:25 -0700 Subject: [PATCH] fix eslint issue --- server/controllers/submit-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/submit-controller.js b/server/controllers/submit-controller.js index 4af65c8..fa88186 100644 --- a/server/controllers/submit-controller.js +++ b/server/controllers/submit-controller.js @@ -3,7 +3,7 @@ module.exports = ({ strapi }) => ({ async index(ctx) { let verification = {} - let formName = strapi.config.get('plugin.ezforms.enableFormName') ? ctx.request.body.formName : "form" + let formName = strapi.config.get('plugin.ezforms.enableFormName') ? ctx.request.body.formName : 'form' // Checks if there is a captcha provider if (!(strapi.config.get('plugin.ezforms.captchaProvider.name') === 'none') && (strapi.config.get('plugin.ezforms.captchaProvider.name'))) { verification = await strapi.plugin('ezforms').service(strapi.config.get('plugin.ezforms.captchaProvider.name')).validate(ctx.request.body.token)