mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +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)
|
||||
->map(function($bookmark) use($pid) {
|
||||
$status = StatusService::get($bookmark->status_id, false);
|
||||
if(!$status) {
|
||||
return false;
|
||||
}
|
||||
$status['bookmarked_at'] = $bookmark->created_at->format('c');
|
||||
|
||||
if($status) {
|
||||
|
|
Loading…
Reference in a new issue