From 97294ca2432db66b3d3c6fdf2dcb06aa5c75ed29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 2 Oct 2019 16:20:34 +0200 Subject: [PATCH] Use correct API url variable --- .../ext/ep_theme/Classes/Service/BookingApiService.php | 2 +- .../ext/ep_theme/Resources/Private/Partials/Config.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Classes/Service/BookingApiService.php b/public/typo3conf/ext/ep_theme/Classes/Service/BookingApiService.php index 977681ee..ffbcbfa4 100644 --- a/public/typo3conf/ext/ep_theme/Classes/Service/BookingApiService.php +++ b/public/typo3conf/ext/ep_theme/Classes/Service/BookingApiService.php @@ -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', diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html index 7dc663a2..23e007da 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html @@ -1,7 +1,7 @@