diff options
author | crupest <crupest@outlook.com> | 2021-02-13 15:46:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-13 15:46:02 +0800 |
commit | 57b95cf3c53c0248355ffa46214224cdba4bf79b (patch) | |
tree | f3f399e819c5dcb6897aac67bde798eeabe4343e /BackEnd/Timeline/Controllers/TimelinePostController.cs | |
parent | d45f776470a7cece565a46655f286fcb06cb3a87 (diff) | |
download | timeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.tar.gz timeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.tar.bz2 timeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.zip |
feat: Add timeline manageable.
Diffstat (limited to 'BackEnd/Timeline/Controllers/TimelinePostController.cs')
-rw-r--r-- | BackEnd/Timeline/Controllers/TimelinePostController.cs | 4 |
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>
|