Skip to content

Commit

Permalink
Adobe target skipResponseCloning added (#2439)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitSegment authored Sep 24, 2024
1 parent 35f8e69 commit e9b9e67
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default class AdobeTarget {
}/profile/update?mbox3rdPartyId=${this.userId}&${objectToQueryString(traits)}`

return this.request(requestUrl, {
method: 'POST'
method: 'POST',
skipResponseCloning: true
})
}
}
Expand All @@ -60,7 +61,7 @@ export default class AdobeTarget {
try {
await this.request(
`https://${clientCode}.tt.omtrdc.net/rest/v1/profiles/thirdPartyId/${userId}?client=${clientCode}`,
{ method: 'get' }
{ method: 'get', skipResponseCloning: true }
)
} catch (error) {
if (error instanceof Error) {
Expand Down

0 comments on commit e9b9e67

Please sign in to comment.