aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/V2
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-04 11:57:43 +0800
committercrupest <crupest@outlook.com>2022-05-04 11:57:43 +0800
commitb6aca624e5790970573bc5818dbb2be53c4109fb (patch)
tree3aadd48e370bd5a63199e31f22b0b2103fbfb6f0 /BackEnd/Timeline/Controllers/V2
parent2d516ddf139c5960fcbcbf060bba826257aede08 (diff)
downloadtimeline-b6aca624e5790970573bc5818dbb2be53c4109fb.tar.gz
timeline-b6aca624e5790970573bc5818dbb2be53c4109fb.tar.bz2
timeline-b6aca624e5790970573bc5818dbb2be53c4109fb.zip
...
Diffstat (limited to 'BackEnd/Timeline/Controllers/V2')
-rw-r--r--BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs b/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs
index a6d12ae4..fd1776ac 100644
--- a/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs
+++ b/BackEnd/Timeline/Controllers/V2/TimelinePostV2Controller.cs
@@ -158,7 +158,7 @@ namespace Timeline.Controllers.V2
var post = await _postService.CreatePostAsync(timelineId, GetAuthUserId(), createRequest);
var group = TimelineHub.GenerateTimelinePostChangeListeningGroupName(owner, timeline);
- await _timelineHubContext.Clients.Group(group).SendAsync(nameof(ITimelineClient.OnTimelinePostChangedV2), timeline);
+ await _timelineHubContext.Clients.Group(group).SendAsync(nameof(ITimelineClient.OnTimelinePostChangedV2), owner, timeline);
var result = await MapAsync<HttpTimelinePost>(post);
return CreatedAtAction("Get", new { owner = owner, timeline = timeline, post = post.LocalId }, result);