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
commit1c4be4a43c4acd2ee46e37685e9153d9c5b34233 (patch)
tree77b7b4a975fa0a9ec29235f8236f460cea358b94 /BackEnd/Timeline/Controllers/TimelinePostController.cs
parent5eaf5c4e49dd87417886e20f1324b2f70396fa55 (diff)
downloadtimeline-1c4be4a43c4acd2ee46e37685e9153d9c5b34233.tar.gz
timeline-1c4be4a43c4acd2ee46e37685e9153d9c5b34233.tar.bz2
timeline-1c4be4a43c4acd2ee46e37685e9153d9c5b34233.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();
}
}
}