Update PublicApiController, fix accountStatuses pagination operator
This commit is contained in:
parent
c32fde22e7
commit
85fc9dd0a8
|
@ -738,6 +738,10 @@ class PublicApiController extends Controller
|
|||
$min_id = $request->min_id;
|
||||
$scope = ['photo', 'photo:album', 'video', 'video:album'];
|
||||
|
||||
if(!$min_id && !$max_id) {
|
||||
$min_id = 1;
|
||||
}
|
||||
|
||||
if($profile['locked']) {
|
||||
if(!$user) {
|
||||
return response()->json([]);
|
||||
|
|
Loading…
Reference in a new issue