mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(router): Move organization_id to request header from request body for v2 (#6277)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
This commit is contained in:
@ -173,15 +173,13 @@ Cypress.Commands.add(
|
||||
.replaceAll(" ", "")
|
||||
.toLowerCase();
|
||||
|
||||
// Update request body
|
||||
merchantAccountCreateBody.organization_id = organization_id;
|
||||
|
||||
cy.request({
|
||||
method: "POST",
|
||||
url: url,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"api-key": api_key,
|
||||
"X-Organization-Id": organization_id,
|
||||
},
|
||||
body: merchantAccountCreateBody,
|
||||
failOnStatusCode: false,
|
||||
|
||||
Reference in New Issue
Block a user