diff options
author | crupest <crupest@outlook.com> | 2021-05-03 00:34:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-03 00:34:30 +0800 |
commit | cc6d33511a6a4c43630a36b13d03db57f432520c (patch) | |
tree | 01faaeebbfce856a5434495367a0163ee08f18b6 /BackEnd/Timeline/Controllers/TimelinePostController.cs | |
parent | 1908601e92218e1b2271f574f107056e2d9e04d6 (diff) | |
download | timeline-cc6d33511a6a4c43630a36b13d03db57f432520c.tar.gz timeline-cc6d33511a6a4c43630a36b13d03db57f432520c.tar.bz2 timeline-cc6d33511a6a4c43630a36b13d03db57f432520c.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Controllers/TimelinePostController.cs')
-rw-r--r-- | BackEnd/Timeline/Controllers/TimelinePostController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Controllers/TimelinePostController.cs b/BackEnd/Timeline/Controllers/TimelinePostController.cs index 9f69b59b..09e7e624 100644 --- a/BackEnd/Timeline/Controllers/TimelinePostController.cs +++ b/BackEnd/Timeline/Controllers/TimelinePostController.cs @@ -266,7 +266,7 @@ namespace Timeline.Controllers await _postService.DeletePostAsync(timelineId, post);
- return Ok();
+ return this.Delete();
}
}
}
|