diff options
author | crupest <crupest@outlook.com> | 2022-04-30 23:34:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-30 23:34:29 +0800 |
commit | f15f883198226a146113f82b3d7ca4864f3aa58b (patch) | |
tree | 03e8a28b78bee5215f330c3fe11f81770aca284f /BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs | |
parent | 6088b428767abfc51998ca8b7f6b5f6994e9ff3b (diff) | |
download | timeline-f15f883198226a146113f82b3d7ca4864f3aa58b.tar.gz timeline-f15f883198226a146113f82b3d7ca4864f3aa58b.tar.bz2 timeline-f15f883198226a146113f82b3d7ca4864f3aa58b.zip |
...
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); } |