Merge pull request #4162 from pixelfed/staging

Update ApiV1Controller
This commit is contained in:
daniel 2023-02-07 22:40:29 -07:00 committed by GitHub
commit 063502f49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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