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.
1 parent afcdc3d commit 852e4dbCopy full SHA for 852e4db
modules/sdk-api/src/bitgoAPI.ts
@@ -395,8 +395,8 @@ export class BitGoAPI implements BitGoBase {
395
396
req.set('BitGo-Auth-Version', this._authVersion === 3 ? '3.0' : '2.0');
397
398
+ const data = serializeRequestData(req);
399
if (this._token) {
- const data = serializeRequestData(req);
400
setRequestQueryString(req);
401
402
const requestProperties = this.calculateRequestHeaders({
@@ -417,7 +417,6 @@ export class BitGoAPI implements BitGoBase {
417
}
418
419
if (this.getAdditionalHeadersCb) {
420
421
const additionalHeaders = this.getAdditionalHeadersCb(method, url, data);
422
for (const { key, value } of additionalHeaders) {
423
req.set(key, value);
0 commit comments