Browse Source

Update SearchApiV2Service

Daniel Supernault 5 years ago
parent
commit
efa8b35877
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/SearchApiV2Service.php

+ 1 - 1
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()