diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.js index 0b85cf3166e2..95b981bc6001 100644 --- a/cypress-tests/cypress/support/commands.js +++ b/cypress-tests/cypress/support/commands.js @@ -908,7 +908,7 @@ Cypress.Commands.add( } ); -Cypress.Commands.add("sessionTokenCall", (globalState) => { +Cypress.Commands.add("sessionTokenCall", (globalState, sessionTokenBody) => { cy.request({ method: "POST", url: `${globalState.get("baseUrl")}/payments/session_tokens`,