diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-10-01 20:45:36 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-10-01 20:46:22 +0200 |
commit | 1a23fbcb4fdad661feb9ea923761f7e02d7f6e8d (patch) | |
tree | b34c72c43f69cd755b1aa5acff8a52345628bd3e /src/headless/merchant.ts | |
parent | 831d27c4df6412a6e1920341cbe6770a994a5804 (diff) | |
download | wallet-core-1a23fbcb4fdad661feb9ea923761f7e02d7f6e8d.tar.gz wallet-core-1a23fbcb4fdad661feb9ea923761f7e02d7f6e8d.tar.bz2 wallet-core-1a23fbcb4fdad661feb9ea923761f7e02d7f6e8d.zip |
adapt to instance changes
Diffstat (limited to 'src/headless/merchant.ts')
-rw-r--r-- | src/headless/merchant.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/headless/merchant.ts b/src/headless/merchant.ts index 4861a7d2a..889eb2d6a 100644 --- a/src/headless/merchant.ts +++ b/src/headless/merchant.ts @@ -32,7 +32,6 @@ import URI = require("urijs"); export class MerchantBackendConnection { constructor( public merchantBaseUrl: string, - public merchantInstance: string, public apiKey: string, ) {} @@ -47,7 +46,6 @@ export class MerchantBackendConnection { amount, summary, fulfillment_url: fulfillmentUrl, - instance: this.merchantInstance, }, }; const resp = await axios({ @@ -76,7 +74,7 @@ export class MerchantBackendConnection { const resp = await axios({ method: "get", url: reqUrl, - params: { order_id: orderId, instance: this.merchantInstance }, + params: { order_id: orderId }, responseType: "json", headers: { Authorization: `ApiKey ${this.apiKey}`, |