Skip to content

Commit

Permalink
Merge pull request #160 from SrdjanCosicPrica/main
Browse files Browse the repository at this point in the history
Fix content-type header to prevent merging of duplicates
  • Loading branch information
VDubber authored Jul 2, 2024
2 parents 4f3cbb1 + 6a9dd86 commit 665491b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class JupiterOneClient {
this.headers = {
Authorization: `Bearer ${token}`,
'LifeOmic-Account': this.account,
'Content-Type': 'application/json',
'content-type': 'application/json',
};

const uri = this.useRulesEndpoint ? this.rulesEndpoint : this.queryEndpoint;
Expand Down

0 comments on commit 665491b

Please sign in to comment.