Skip to content

Commit

Permalink
Remove trailing slashes from request URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispenny committed Aug 11, 2024
1 parent 9ece4b3 commit ed2ee21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Service/Requests/ClickPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}
2 changes: 1 addition & 1 deletion src/Service/Requests/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}

0 comments on commit ed2ee21

Please sign in to comment.