From ee6e720a9cb0d90d4b53782bba01ebfc162b532b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Sat, 2 May 2020 10:31:37 +0900 Subject: [PATCH] Update src/server/api/private/signup.ts --- src/server/api/private/signup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts index 4e475e198..6dc252ac4 100644 --- a/src/server/api/private/signup.ts +++ b/src/server/api/private/signup.ts @@ -13,7 +13,7 @@ export default async (ctx: Koa.Context) => { // Verify *Captcha // ただしテスト時はこの機構は障害となるため無効にする if (process.env.NODE_ENV !== 'test') { - if (instance.enableHcaptcha && instance.hcaptchaSecretKey) { + if (instance.enableHcaptcha && instance.hcaptchaSecretKey) { const success = await verify(instance.hcaptchaSecretKey, body['hcaptcha-response']).then( ({ success }) => success, () => false,