mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update SearchApiV2Service
This commit is contained in:
parent
310f668814
commit
efa8b35877
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class SearchApiV2Service
|
|||
{
|
||||
$this->query = $query;
|
||||
|
||||
if($query->has('resolve') && $query->resolve == true) {
|
||||
if($query->has('resolve') && $query->resolve == true && Helpers::validateUrl($query)) {
|
||||
return [
|
||||
'accounts' => [
|
||||
$this->resolve()
|
||||
|
|
Loading…
Reference in a new issue