From efa8b358774d71515a90bfc0f3c92e651f2d1289 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 6 Feb 2020 17:21:54 -0700 Subject: [PATCH] Update SearchApiV2Service --- app/Services/SearchApiV2Service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()