From 713867bbda8322a0938d6b8f0c850752622fdd42 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sun, 21 Jun 2026 21:02:44 +1000 Subject: v0.20a --- Controllers/ApiUserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Controllers/ApiUserController.cs') diff --git a/Controllers/ApiUserController.cs b/Controllers/ApiUserController.cs index 3230218..c581956 100644 --- a/Controllers/ApiUserController.cs +++ b/Controllers/ApiUserController.cs @@ -92,7 +92,7 @@ public class ApiUserController : Controller { [HttpDelete("{userId}")] public async Task DeleteUserAsync([FromRoute] Guid userId) { - if(userId == HBContext.AdminUser) + if(userId == InternalTag.AdminUser) throw new ApiModels.ArgumentException("Cannot delete the admin user"); using var db = dbFactory.CreateDbContext(); -- cgit v1.3