Use correct API url variable
This commit is contained in:
@@ -75,7 +75,7 @@ class BookingApiService implements SingletonInterface, LoggerAwareInterface
|
||||
$client = HttpClient::create();
|
||||
|
||||
try {
|
||||
$client->request('POST', $this->apiEndpointUrl, [
|
||||
$client->request('POST', $this->apiEndpointUrl . '/api/contactform', [
|
||||
'headers' => [
|
||||
'X-AUTH-TOKEN' => $this->apiToken,
|
||||
'Content-type' => 'application/json',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script type="application/json" id="appconfig">
|
||||
{
|
||||
"loaderUrl": "<f:format.raw>{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif', absolute: 1)}</f:format.raw>",
|
||||
"myEpApiBaseUrl": "<f:format.raw>{settings.myEpApiBaseUrl}</f:format.raw>",
|
||||
"myEpApiBaseUrl": "<f:format.raw>{settings.myEpApiEndpointUrl}</f:format.raw>",
|
||||
"paCode": <f:if condition='{context.paCode}'><f:then>"{context.paCode}"</f:then><f:else>null</f:else></f:if>,
|
||||
"externalDomains": {settings.domainsToTrack -> v:iterator.explode() -> f:format.json() -> f:format.raw()}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user