Skip to content

Commit

Permalink
feat: remove marketplaceServerURL url from transakconfig (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Nov 15, 2024
1 parent 611f3d0 commit b4507a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/modules/gateway/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/modules/gateway/transak/Transak.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion src/modules/gateway/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export type MoonPayConfig = {
}

export type TransakConfig = {
marketplaceServerURL: string
apiBaseUrl: string
key: string
env: string
Expand Down

0 comments on commit b4507a6

Please sign in to comment.