Skip to content

Commit

Permalink
Readable form
Browse files Browse the repository at this point in the history
  • Loading branch information
swetapadmanabhan committed Mar 7, 2024
1 parent 1a02c0c commit e69cd50
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,11 @@ export class Session<
"ftrack-user": this.apiUser,
"ftrack-Clienttoken": this.clientToken,
"ftrack-pushtoken": pushToken,
...(ensureSerializableResponse && {
"ftrack-api-options": "strict:1;denormalize:1",
}),
...(ensureSerializableResponse
? {
"ftrack-api-options": "strict:1;denormalize:1",
}
: {}),
...this.additionalHeaders,
...additionalHeaders,
} as HeadersInit,
Expand Down

0 comments on commit e69cd50

Please sign in to comment.