From 440071053030579c35216b29aa3f0fe8fc7887b5 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Mon, 22 Jun 2026 00:15:14 +1000 Subject: Moved internal tag GUIDs to the ApiModels assembly --- 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