aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/TimelinePostController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-03 00:34:30 +0800
committercrupest <crupest@outlook.com>2021-05-03 00:34:30 +0800
commitcc6d33511a6a4c43630a36b13d03db57f432520c (patch)
tree01faaeebbfce856a5434495367a0163ee08f18b6 /BackEnd/Timeline/Controllers/TimelinePostController.cs
parent1908601e92218e1b2271f574f107056e2d9e04d6 (diff)
downloadtimeline-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.cs2
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();
}
}
}