diff options
Diffstat (limited to 'BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs')
-rw-r--r-- | BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs b/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs index 8b7101e4..a6d12ae4 100644 --- a/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs +++ b/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs @@ -47,7 +47,7 @@ namespace Timeline.Controllers.V2 { return Forbid(); } - var postPage = await _postService.GetPostsV2Async(timelineId, modifiedSince, page, pageSize); + var postPage = await _postService.GetPostsV2Async(timelineId, page ?? 1, pageSize ?? 20, modifiedSince); var items = await MapListAsync<HttpTimelinePost>(postPage.Items); return postPage.WithItems(items); } |