forked from mirror/pixelfed
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;
|
$this->query = $query;
|
||||||
|
|
||||||
if($query->has('resolve') && $query->resolve == true) {
|
if($query->has('resolve') && $query->resolve == true && Helpers::validateUrl($query)) {
|
||||||
return [
|
return [
|
||||||
'accounts' => [
|
'accounts' => [
|
||||||
$this->resolve()
|
$this->resolve()
|
||||||
|
|
Loading…
Reference in a new issue