Skip to content

Commit

Permalink
501233: Use wreck payload key
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmypixel committed Feb 12, 2025
1 parent 030b603 commit bb4c0de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/common/helpers/auth/refresh-token.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function refreshAccessToken(request) {
'Content-Type': 'application/x-www-form-urlencoded',
'Cache-Control': 'no-cache'
},
body: params
payload: params
})
}

Expand Down
2 changes: 1 addition & 1 deletion src/server/create/journey-test-suite/controllers/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const testSuiteCreateController = {
selfServiceOpsCreateTestSuiteEndpointUrl,
{
method: 'post',
body: JSON.stringify(sanitisedPayload)
payload: sanitisedPayload
}
)

Expand Down
2 changes: 1 addition & 1 deletion src/server/create/perf-test-suite/controllers/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const perfTestSuiteCreateController = {
selfServiceOpsCreateEnvTestSuiteEndpointUrl,
{
method: 'post',
body: JSON.stringify(sanitisedPayload)
payload: sanitisedPayload
}
)

Expand Down

0 comments on commit bb4c0de

Please sign in to comment.