use correct path on index
This commit is contained in:
parent
bad10ef03d
commit
8576579aa6
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue