Update SearchApiV2Service

This commit is contained in:
Daniel Supernault 2020-02-06 17:21:54 -07:00
parent 310f668814
commit efa8b35877
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -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()