forked from mirror/pixelfed
Update ApiV1Controller
This commit is contained in:
parent
9f66d6b640
commit
6deb09de28
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue