From 9a7626595266af2bc80d2950fa52858de49b107b Mon Sep 17 00:00:00 2001 From: Sarah Schwartz <58856580+sarahschwartz@users.noreply.github.com> Date: Mon, 9 Sep 2024 07:55:01 -0600 Subject: [PATCH] Update code/webauthn/frontend/src/pages/api/get-registration-options.ts Co-authored-by: Farhad Asgarov <55872891+asgarovf@users.noreply.github.com> --- .../webauthn/frontend/src/pages/api/get-registration-options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/webauthn/frontend/src/pages/api/get-registration-options.ts b/code/webauthn/frontend/src/pages/api/get-registration-options.ts index 0198d510..318d2fa5 100644 --- a/code/webauthn/frontend/src/pages/api/get-registration-options.ts +++ b/code/webauthn/frontend/src/pages/api/get-registration-options.ts @@ -30,7 +30,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< res.status(500).json({ error }); } } else { - console.log('MUST USED GET METHOD'); + console.log('MUST USE POST METHOD'); res.status(500); } }