We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44b94a commit 212b3aeCopy full SHA for 212b3ae
1 file changed
src/client.ts
@@ -186,8 +186,8 @@ export class Grid {
186
return;
187
}
188
189
- protected authHeaders(opts: FinalRequestOptions): Headers | undefined {
190
- return new Headers({ Authorization: `Bearer ${this.apiKey}` });
+ protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined {
+ return buildHeaders([{ Authorization: `Bearer ${this.apiKey}` }]);
191
192
193
/**
0 commit comments