summaryrefslogtreecommitdiff
path: root/Controllers/ApiUserController.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-06-22 00:15:14 +1000
committerJake Mannens <jake@asger.xyz>2026-06-25 02:23:14 +1000
commit440071053030579c35216b29aa3f0fe8fc7887b5 (patch)
treed331019cbaa11921928f4d1d24765a0a205be54a /Controllers/ApiUserController.cs
parent16aa1d68777f4d5a6f41df6612f2a4535394d334 (diff)
Moved internal tag GUIDs to the ApiModels assembly
Diffstat (limited to 'Controllers/ApiUserController.cs')
-rw-r--r--Controllers/ApiUserController.cs2
1 files changed, 1 insertions, 1 deletions
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<IActionResult> 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();