Merge pull request #6149 from pixelfed/staging

Update ApiV1StoryController, fix viewer pagination
pull/6163/head
(dan)iel (sup)ernault 3 months ago committed by GitHub
commit e2fc2ceee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -765,7 +765,8 @@ class StoryApiV1Controller extends Controller
$viewers = StoryView::whereStoryId($story->id)
->orderByDesc('id')
->cursorPaginate(10);
->cursorPaginate(10)
->withQueryString();
return StoryViewResource::collection($viewers);
}

Loading…
Cancel
Save