1
0
Fork 0
forked from mirror/pixelfed

Update ApiV1Controller

This commit is contained in:
Daniel Supernault 2023-02-07 22:40:06 -07:00
parent 9f66d6b640
commit 6deb09de28
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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