소스 검색

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;
 
-		if($query->has('resolve') && $query->resolve == true) {
+		if($query->has('resolve') && $query->resolve == true && Helpers::validateUrl($query)) {
 			return [
 				'accounts' => [
 					$this->resolve()