Skip to content

Commit

Permalink
Reformatted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Ramzi committed Sep 28, 2023
1 parent 2e8ddc2 commit 7551e25
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,7 @@ class PixelClient {
'User-Agent': additionalOpts?.userAgent || 'OpenAPI-Generator/1.0/js',
};
let headers = additionalOpts?.apiKey ?
{
...headersbase,
'X-Kevel-ApiKey': additionalOpts.apiKey,
} :
{ ...headersbase, 'X-Kevel-ApiKey': additionalOpts.apiKey } :
headersbase;

let opts: any = {
Expand Down

0 comments on commit 7551e25

Please sign in to comment.