From 10a7405a6594faed7d63a97bc64acc3769003375 Mon Sep 17 00:00:00 2001 From: Jang ho Jung Date: Wed, 18 Sep 2024 13:59:19 -0700 Subject: [PATCH] Edit comment --- src/static/helpers/passwordlessHelper.test.ts | 3 ++- src/static/helpers/passwordlessHelper.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/static/helpers/passwordlessHelper.test.ts b/src/static/helpers/passwordlessHelper.test.ts index ddbedd1..26f5560 100644 --- a/src/static/helpers/passwordlessHelper.test.ts +++ b/src/static/helpers/passwordlessHelper.test.ts @@ -92,7 +92,8 @@ describe('authorizePasswordless is working', () => { }, }; expect(authorizePasswordlessCustomerMock).toBeCalledWith( - expectedReqOptions, true + expectedReqOptions, + true ); }); }); diff --git a/src/static/helpers/passwordlessHelper.ts b/src/static/helpers/passwordlessHelper.ts index 791b79f..74a904e 100644 --- a/src/static/helpers/passwordlessHelper.ts +++ b/src/static/helpers/passwordlessHelper.ts @@ -19,7 +19,7 @@ import {createCodeVerifier, stringToBase64} from './slasHelper'; * @param parameters.userid - User Id for login * @param parameters.locale - The locale of the template. Not needed for the callback mode * @param parameters.mode - Medium of sending login token - * @returns Promise of Response or Object + * @returns Promise of Response */ export async function authorizePasswordless( slasClient: ShopperLogin<{