diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-14 05:25:12 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-14 05:25:12 +0100 |
| commit | 99b0c09a6bb984d811b63788015cfad1855b5f3c (patch) | |
| tree | 8b6c3c9b70384bd3f00a46945e8bcb5bd474b3a1 /code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs | |
| parent | 798895a91f8533f22f94f4c4800dc9a2c9628ab6 (diff) | |
| download | greatoffice-99b0c09a6bb984d811b63788015cfad1855b5f3c.tar.xz greatoffice-99b0c09a6bb984d811b63788015cfad1855b5f3c.zip | |
refactor: Endpoints
- Model payloads in relevant route class
- Move RequestTimeZoneInfo out of EndpointBase
Diffstat (limited to 'code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs')
| -rw-r--r-- | code/api/src/Endpoints/Internal/Account/DeleteAccountRoute.cs | 5 |
1 files changed, 0 insertions, 5 deletions
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; } - /// <summary> - /// Delete the logged on user's account. - /// </summary> - /// <param name="cancellationToken"></param> - /// <returns></returns> [HttpDelete("~/_/account/delete")] public override async Task<ActionResult> HandleAsync(CancellationToken cancellationToken = default) { var user = _database.Users.SingleOrDefault(c => c.Id == LoggedInUser.Id); |
