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