diff --git a/app/Services/SearchApiV2Service.php b/app/Services/SearchApiV2Service.php index 2123ff3b..22f15510 100644 --- a/app/Services/SearchApiV2Service.php +++ b/app/Services/SearchApiV2Service.php @@ -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()