Skip to content

Commit

Permalink
PYIC-7785: Add internal headers to new test methods calling internal …
Browse files Browse the repository at this point in the history
…API methods (#2880)
  • Loading branch information
DanCorderIPV authored Jan 16, 2025
2 parents 1176155 + d5a2ba9 commit d42ddc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-tests/src/clients/core-back-internal-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const callbackFromStrategicApp = async (
const response = await fetch(url, {
method: POST,
headers: {
"Content-Type": "application/json",
...internalApiHeaders,
...(featureSet ? { "feature-set": featureSet } : {}),
...(ipvSessionId ? { "ipv-session-id": ipvSessionId } : {}),
},
Expand All @@ -104,7 +104,7 @@ export const pollAsyncDcmaw = async (
const response = await fetch(url, {
method: POST,
headers: {
"Content-Type": "application/json",
...internalApiHeaders,
...(featureSet ? { "feature-set": featureSet } : {}),
...(ipvSessionId ? { "ipv-session-id": ipvSessionId } : {}),
},
Expand Down

0 comments on commit d42ddc1

Please sign in to comment.