Update StatusService, cast response to array
This commit is contained in:
parent
8e85728994
commit
0fbde91e87
3 changed files with 4 additions and 3 deletions
|
@ -133,6 +133,7 @@ class BaseApiController extends Controller
|
|||
$statuses = $account->statuses()->getQuery();
|
||||
if($only_media == true) {
|
||||
$statuses = $statuses
|
||||
->whereIn('scope', ['public','unlisted'])
|
||||
->whereHas('media')
|
||||
->whereNull('in_reply_to_id')
|
||||
->whereNull('reblog_of_id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue