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<{