mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update InternalApiController
This commit is contained in:
parent
d30a5eb311
commit
f8bc0d9c03
1 changed files with 3 additions and 0 deletions
|
@ -323,6 +323,9 @@ class InternalApiController extends Controller
|
||||||
->simplePaginate(10)
|
->simplePaginate(10)
|
||||||
->map(function($bookmark) use($pid) {
|
->map(function($bookmark) use($pid) {
|
||||||
$status = StatusService::get($bookmark->status_id, false);
|
$status = StatusService::get($bookmark->status_id, false);
|
||||||
|
if(!$status) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$status['bookmarked_at'] = $bookmark->created_at->format('c');
|
$status['bookmarked_at'] = $bookmark->created_at->format('c');
|
||||||
|
|
||||||
if($status) {
|
if($status) {
|
||||||
|
|
Loading…
Reference in a new issue