We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c02b2a8 + bb229c9 commit e593369Copy full SHA for e593369
modules/sdk-api/src/bitgoAPI.ts
@@ -553,6 +553,12 @@ export class BitGoAPI implements BitGoBase {
553
if (this._customProxyAgent) {
554
resultPromise.agent(this._customProxyAgent);
555
}
556
+ if (this.getAdditionalHeadersCb) {
557
+ const additionalHeaders = this.getAdditionalHeadersCb('get', this.url('/client/constants'));
558
+ for (const { key, value } of additionalHeaders) {
559
+ resultPromise.set(key, value);
560
+ }
561
562
const result = await resultPromise;
563
BitGoAPI._constants[env] = result.body.constants;
564
0 commit comments