use correct path on index

This commit is contained in:
Daniel Klabbers 2021-11-10 13:55:20 +01:00
parent bad10ef03d
commit 8576579aa6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Client extends \Flarum\Api\Client
{ {
public function get(string $path): ResponseInterface public function get(string $path): ResponseInterface
{ {
if ($path === '/discussions' && Arr::has($this->queryParams, 'filter.q')) return parent::get("/blomstra$path"); if ($path === '/discussions' && Arr::has($this->queryParams, 'filter.q')) return parent::get("/blomstra/search/discussions");
return parent::get($path); return parent::get($path);
} }