diff --git a/src/Service/Requests/ClickPost.php b/src/Service/Requests/ClickPost.php index f6b0426..5c8fbe8 100644 --- a/src/Service/Requests/ClickPost.php +++ b/src/Service/Requests/ClickPost.php @@ -12,7 +12,7 @@ public function __construct(string $engineName, ?ClickParams $click_params = nul { parent::__construct($engineName, $click_params); - $this->path = sprintf('/api/v1/%s/click/', $engineName); + $this->path = sprintf('/api/v1/%s/click', $engineName); } } diff --git a/src/Service/Requests/Search.php b/src/Service/Requests/Search.php index f66b7bb..cf5dcfc 100644 --- a/src/Service/Requests/Search.php +++ b/src/Service/Requests/Search.php @@ -12,7 +12,7 @@ public function __construct(string $engineName, ?SearchRequestParams $search_req { parent::__construct($engineName, $search_request_params); - $this->path = sprintf('/api/v1/%s/search/', $engineName); + $this->path = sprintf('/api/v1/%s/search', $engineName); } }