Ver Fonte

Update ApiV1Controller

Daniel Supernault há 2 anos atrás
pai
commit
6deb09de28
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/Api/ApiV1Controller.php

+ 1 - 1
app/Http/Controllers/Api/ApiV1Controller.php

@@ -622,7 +622,7 @@ class ApiV1Controller extends Controller
             try {
             try {
                 $status = $napi ? StatusService::get($s->id, false) : StatusService::getMastodon($s->id, false);
                 $status = $napi ? StatusService::get($s->id, false) : StatusService::getMastodon($s->id, false);
             } catch (\Exception $e) {
             } catch (\Exception $e) {
-                $status = false;
+                return false;
             }
             }
 
 
 			if($profile) {
 			if($profile) {