Skip to content

Commit

Permalink
fix type compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hassan254-prog committed Feb 21, 2025
1 parent c6e8b52 commit 2e11206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node-client/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,8 @@ export class Nango {
headers['Decompress'] = decompress;
}

if (includeAuthentication != null) {
headers['Include-Authentication'] = includeAuthentication;
if (includeAuthentication !== undefined) {
headers['Include-Authentication'] = String(includeAuthentication);
}

if (retryOn) {
Expand Down

0 comments on commit 2e11206

Please sign in to comment.