mirror of https://github.com/pixelfed/pixelfed.git
Update SearchApiV2Service
This commit is contained in:
parent
310f668814
commit
efa8b35877
|
@ -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 New Issue