mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update PublicApiController, fix accountStatuses pagination operator
This commit is contained in:
parent
c32fde22e7
commit
85fc9dd0a8
1 changed files with 4 additions and 0 deletions
|
@ -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