diff --git a/src/modules/gateway/sagas.ts b/src/modules/gateway/sagas.ts index 9e2f62f9..7c1f2ac2 100644 --- a/src/modules/gateway/sagas.ts +++ b/src/modules/gateway/sagas.ts @@ -344,9 +344,7 @@ export function createGatewaySaga(config: GatewaySagasConfig) { } } - const marketplaceAPI = new MarketplaceAPI( - transakConfig.marketplaceServerURL - ) + const marketplaceAPI = new MarketplaceAPI(transakConfig.apiBaseUrl) const transak = new Transak(transakConfig, {}, identity) let statusHasChanged = false diff --git a/src/modules/gateway/transak/Transak.spec.ts b/src/modules/gateway/transak/Transak.spec.ts index 448e0fec..1d800ac2 100644 --- a/src/modules/gateway/transak/Transak.spec.ts +++ b/src/modules/gateway/transak/Transak.spec.ts @@ -51,7 +51,6 @@ const mockConfig: GatewaySagasConfig = { pollingDelay: 50 }, [NetworkGatewayType.TRANSAK]: { - marketplaceServerURL: 'https://marketplace-server.decentraland.zone', apiBaseUrl: 'http://transak-base.url.xyz', key: 'transak-key', env: 'TEST', diff --git a/src/modules/gateway/types.ts b/src/modules/gateway/types.ts index 92f41be4..b9f8fb44 100644 --- a/src/modules/gateway/types.ts +++ b/src/modules/gateway/types.ts @@ -52,7 +52,6 @@ export type MoonPayConfig = { } export type TransakConfig = { - marketplaceServerURL: string apiBaseUrl: string key: string env: string