瀏覽代碼

Update SearchApiV2Service

Daniel Supernault 5 年之前
父節點
當前提交
efa8b35877
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/SearchApiV2Service.php

+ 1 - 1
app/Services/SearchApiV2Service.php

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