aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-09 18:53:52 +0800
committercrupest <crupest@outlook.com>2022-04-09 18:53:52 +0800
commit0aa43ef4c6724f672453676a0c688cd80097dad7 (patch)
tree5bbb0d736b385b9d0c6254f7e006161e0080de8f /BackEnd/Timeline/Services
parent4db131899145b7aca0ea5fd36984cf1542c9619b (diff)
downloadtimeline-0aa43ef4c6724f672453676a0c688cd80097dad7.tar.gz
timeline-0aa43ef4c6724f672453676a0c688cd80097dad7.tar.bz2
timeline-0aa43ef4c6724f672453676a0c688cd80097dad7.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services')
-rw-r--r--BackEnd/Timeline/Services/Timeline/TimelinePostService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/Timeline/TimelinePostService.cs b/BackEnd/Timeline/Services/Timeline/TimelinePostService.cs
index 40f226ce..644e989f 100644
--- a/BackEnd/Timeline/Services/Timeline/TimelinePostService.cs
+++ b/BackEnd/Timeline/Services/Timeline/TimelinePostService.cs
@@ -55,9 +55,9 @@ namespace Timeline.Services.Timeline
});
}
- private static EntityNotExistException CreatePostDeletedException(long timelineId, long postId)
+ private static EntityDeletedException CreatePostDeletedException(long timelineId, long postId)
{
- return new EntityNotExistException(EntityTypes.TimelinePost, new Dictionary<string, object>
+ return new EntityDeletedException(EntityTypes.TimelinePost, new Dictionary<string, object>
{
["timeline-id"] = timelineId,
["post-id"] = postId,