aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/TimelinePostController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-13 15:46:02 +0800
committercrupest <crupest@outlook.com>2021-02-13 15:46:02 +0800
commit4538aa0be40316a967d6fbcbc08bc9670b9bbcf0 (patch)
tree9a3b573c2325fa500b565f82f734bd7540f765c9 /BackEnd/Timeline/Controllers/TimelinePostController.cs
parent01c3c5800f9b8a7b89d98b28ea748d496497c0b2 (diff)
downloadtimeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.tar.gz
timeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.tar.bz2
timeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.zip
feat: Add timeline manageable.
Diffstat (limited to 'BackEnd/Timeline/Controllers/TimelinePostController.cs')
-rw-r--r--BackEnd/Timeline/Controllers/TimelinePostController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Controllers/TimelinePostController.cs b/BackEnd/Timeline/Controllers/TimelinePostController.cs
index 7e3d6900..4026d551 100644
--- a/BackEnd/Timeline/Controllers/TimelinePostController.cs
+++ b/BackEnd/Timeline/Controllers/TimelinePostController.cs
@@ -49,9 +49,9 @@ namespace Timeline.Controllers
return _timelineMapper.MapToHttp(post, timelineName, Url, this.GetOptionalUserId(), UserHasAllTimelineManagementPermission);
}
- private Task<List<HttpTimelinePost>> Map(List<TimelinePostEntity> post, string timelineName)
+ private Task<List<HttpTimelinePost>> Map(List<TimelinePostEntity> posts, string timelineName)
{
- return _timelineMapper.MapToHttp(post, timelineName, Url, this.GetOptionalUserId(), UserHasAllTimelineManagementPermission);
+ return _timelineMapper.MapToHttp(posts, timelineName, Url, this.GetOptionalUserId(), UserHasAllTimelineManagementPermission);
}
/// <summary>