hotfix: endpoint

This commit is contained in:
Sebastian Rindom
2021-06-23 13:32:27 +02:00
parent e10b2a674f
commit 9fee57f54f
@@ -60,10 +60,10 @@ class AdyenService extends BaseService {
config,
})
if (this.options_.liveEndpointPrefix) {
if (this.options_.live_endpoint_prefix) {
client.setEnvironment(
this.options_.environment,
this.options_.liveEndpointPrefix
this.options_.live_endpoint_prefix
)
} else {
client.setEnvironment(this.options_.environment)