aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/TimelineController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-07 20:45:24 +0800
committercrupest <crupest@outlook.com>2022-04-07 20:45:24 +0800
commitf8eecd3d50dec23d23b2fa1b6223b9c99d974214 (patch)
tree38a1518a58ed571b0ecfecc1b65de1fb1c1ec6c0 /BackEnd/Timeline/Controllers/TimelineController.cs
parent97a2b834e5b2da14a54d12a9bef423a8607f0e94 (diff)
downloadtimeline-f8eecd3d50dec23d23b2fa1b6223b9c99d974214.tar.gz
timeline-f8eecd3d50dec23d23b2fa1b6223b9c99d974214.tar.bz2
timeline-f8eecd3d50dec23d23b2fa1b6223b9c99d974214.zip
...
Diffstat (limited to 'BackEnd/Timeline/Controllers/TimelineController.cs')
-rw-r--r--BackEnd/Timeline/Controllers/TimelineController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Controllers/TimelineController.cs b/BackEnd/Timeline/Controllers/TimelineController.cs
index 42b8f210..a6749706 100644
--- a/BackEnd/Timeline/Controllers/TimelineController.cs
+++ b/BackEnd/Timeline/Controllers/TimelineController.cs
@@ -218,7 +218,7 @@ namespace Timeline.Controllers
{
var userId = GetAuthUserId();
- var timeline = await _service.CreateTimelineAsync(body.Name, userId);
+ var timeline = await _service.CreateTimelineAsync(userId, body.Name);
var result = await Map(timeline);
return result;
}