aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/User/UserDeleteService.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-28 17:16:45 +0800
committercrupest <crupest@outlook.com>2021-04-28 17:16:45 +0800
commit76ea7c9f7295f1507bc87154b36cc0f2ea22036e (patch)
treeed6e2b0e7dcad128bf9b971e74c233d23113e284 /BackEnd/Timeline/Services/User/UserDeleteService.cs
parent344d189e5860a20ebe42cec03b86974a2a3aaa95 (diff)
downloadtimeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.tar.gz
timeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.tar.bz2
timeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/User/UserDeleteService.cs')
-rw-r--r--BackEnd/Timeline/Services/User/UserDeleteService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/User/UserDeleteService.cs b/BackEnd/Timeline/Services/User/UserDeleteService.cs
index e0391841..3e3e29e2 100644
--- a/BackEnd/Timeline/Services/User/UserDeleteService.cs
+++ b/BackEnd/Timeline/Services/User/UserDeleteService.cs
@@ -44,7 +44,7 @@ namespace Timeline.Services.User
if (user.Id == 1)
throw new InvalidOperationOnRootUserException(Resource.ExceptionDeleteRootUser);
- await _timelinePostService.DeleteAllPostsOfUser(user.Id);
+ await _timelinePostService.DeleteAllPostsOfUserAsync(user.Id);
_databaseContext.Users.Remove(user);