Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove marketplace api url var from Transak since its already t… #646

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading