hotfix: endpoint
This commit is contained in:
1 parent
d6f0bf50ef
commit
aad49ea355
1 file changed
+7
@@ -60,7 +60,14 @@ class AdyenService extends BaseService {
|
|||||||
config,
|
config,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (this.options_.liveEndpointPrefix) {
|
||||||
|
client.setEnvironment(
|
||||||
|
this.options_.environment,
|
||||||
|
this.options_.liveEndpointPrefix
|
||||||
|
)
|
||||||
|
} else {
|
||||||
client.setEnvironment(this.options_.environment)
|
client.setEnvironment(this.options_.environment)
|
||||||
|
}
|
||||||
|
|
||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user