From 99b0c09a6bb984d811b63788015cfad1855b5f3c Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 14 Nov 2022 11:25:12 +0700 Subject: refactor: Endpoints - Model payloads in relevant route class - Move RequestTimeZoneInfo out of EndpointBase --- code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs') diff --git a/code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs b/code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs index f0e8362..e9fe40d 100644 --- a/code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs +++ b/code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs @@ -10,11 +10,6 @@ public class DeleteAccountRoute : RouteBaseAsync.WithoutRequest.WithActionResult _userService = userService; } - /// - /// Delete the logged on user's account. - /// - /// - /// [HttpDelete("~/_/account/delete")] public override async Task HandleAsync(CancellationToken cancellationToken = default) { var user = _database.Users.SingleOrDefault(c => c.Id == LoggedInUser.Id); -- cgit v1.3