Skip to content

Commit 375e4b8

Browse files
fix(client): send all configured auth headers (#49)
1 parent dc97f57 commit 375e4b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ export class Grid {
186186
return;
187187
}
188188

189-
protected authHeaders(opts: FinalRequestOptions): Headers | undefined {
190-
return new Headers({ Authorization: `Bearer ${this.apiKey}` });
189+
protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined {
190+
return buildHeaders([{ Authorization: `Bearer ${this.apiKey}` }]);
191191
}
192192

193193
/**

0 commit comments

Comments
 (0)