From 0aa43ef4c6724f672453676a0c688cd80097dad7 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 9 Apr 2022 18:53:52 +0800 Subject: ... --- BackEnd/Timeline/Services/Timeline/TimelinePostService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BackEnd/Timeline/Services') 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 + return new EntityDeletedException(EntityTypes.TimelinePost, new Dictionary { ["timeline-id"] = timelineId, ["post-id"] = postId, -- cgit v1.2.3