Skip to content

Commit

Permalink
Fix reset token request
Browse files Browse the repository at this point in the history
  • Loading branch information
sokolovstas committed Jan 25, 2022
1 parent 8c2bfb7 commit 45ae6dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_apps_src/web-element/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Cypress.Commands.add('userSet', async data => {
});

Cypress.Commands.add('getResetTokenURL', async () => {
await login();
const resetTokenData = await fetch(`${adminUrl}/users/generate_new_reset_token`, {
body: JSON.stringify({ user_id: userId, app_id: appId }),
method: 'POST',
Expand Down

0 comments on commit 45ae6dc

Please sign in to comment.