1
0
Fork 0
forked from mirror/pixelfed

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

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