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 | 1c4be4a43c4acd2ee46e37685e9153d9c5b34233 (patch) | |
tree | 77b7b4a975fa0a9ec29235f8236f460cea358b94 /BackEnd/Timeline/Controllers/TimelinePostController.cs | |
parent | 5eaf5c4e49dd87417886e20f1324b2f70396fa55 (diff) | |
download | timeline-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.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();
}
}
}
|