Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-jung1 committed Sep 18, 2024
1 parent fc76dc0 commit 10a7405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/static/helpers/passwordlessHelper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ describe('authorizePasswordless is working', () => {
},
};
expect(authorizePasswordlessCustomerMock).toBeCalledWith(
expectedReqOptions, true
expectedReqOptions,

Check warning on line 95 in src/static/helpers/passwordlessHelper.test.ts

View workflow job for this annotation

GitHub Actions / linux-tests (12)

Delete `·`

Check warning on line 95 in src/static/helpers/passwordlessHelper.test.ts

View workflow job for this annotation

GitHub Actions / linux-tests (14)

Delete `·`

Check warning on line 95 in src/static/helpers/passwordlessHelper.test.ts

View workflow job for this annotation

GitHub Actions / linux-tests (16)

Delete `·`

Check warning on line 95 in src/static/helpers/passwordlessHelper.test.ts

View workflow job for this annotation

GitHub Actions / linux-tests (18)

Delete `·`
true
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/static/helpers/passwordlessHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<{
Expand Down

0 comments on commit 10a7405

Please sign in to comment.