diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-22 00:15:14 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-25 02:23:14 +1000 |
| commit | 440071053030579c35216b29aa3f0fe8fc7887b5 (patch) | |
| tree | d331019cbaa11921928f4d1d24765a0a205be54a /Controllers | |
| parent | 16aa1d68777f4d5a6f41df6612f2a4535394d334 (diff) | |
Moved internal tag GUIDs to the ApiModels assembly
Diffstat (limited to 'Controllers')
| -rw-r--r-- | Controllers/ApiUserController.cs | 2 |
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(); |
