From eb1b41326b3de1df0aeb709b6ddf563b4feb2613 Mon Sep 17 00:00:00 2001 From: hieu-w Date: Fri, 17 Jan 2025 03:00:22 +0700 Subject: [PATCH] Fix error build TS --- src/handlers/PasswordlessHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/PasswordlessHandler.ts b/src/handlers/PasswordlessHandler.ts index a2b3ba16..1f4ddcd0 100644 --- a/src/handlers/PasswordlessHandler.ts +++ b/src/handlers/PasswordlessHandler.ts @@ -121,7 +121,7 @@ export default class PasswordlessHandler extends AbstractLoginHandler { // using stringify and parse to remove undefined params // This method is only resolved when the user clicks the email link post(this.finalURL.href, JSON.parse(JSON.stringify(finalJwtParams))) - .then((response) => { + .then((response): Response => { log.info("posted", response); return undefined; })