From 1bbc60966cea77ec6ed7895bea1a01ad9c090c3a Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 15 Nov 2020 20:48:28 +0800 Subject: feat: Deleting root user now returns 400. --- BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'BackEnd/Timeline.ErrorCodes/ErrorCodes.cs') diff --git a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs index df3d1861..90c4ed99 100644 --- a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs +++ b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs @@ -44,6 +44,7 @@ public const int UsernameConflict = 1_102_01_01; public const int ChangePassword_BadOldPassword = 1_102_02_01; public const int ChangePermission_RootUser = 1_102_03_01; + public const int Delete_RootUser = 1_102_04_01; } public static class UserAvatar -- cgit v1.2.3