Update PublicApiController, fix accountStatuses pagination operator

This commit is contained in:
Daniel Supernault 2022-01-03 00:59:39 -07:00
parent c32fde22e7
commit 85fc9dd0a8
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 4 additions and 0 deletions

View File

@ -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([]);