diff options
author | crupest <crupest@outlook.com> | 2020-11-15 20:48:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-15 20:48:28 +0800 |
commit | 45873d9115840c9db596c2dffebc7bb29df13686 (patch) | |
tree | 945016b5c2a911a2a19b8f4f1472ecfdbe32a602 /BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | |
parent | 5b7b0120406ef4c609c07ab57074a76a753cd1fd (diff) | |
download | timeline-45873d9115840c9db596c2dffebc7bb29df13686.tar.gz timeline-45873d9115840c9db596c2dffebc7bb29df13686.tar.bz2 timeline-45873d9115840c9db596c2dffebc7bb29df13686.zip |
feat: Deleting root user now returns 400.
Diffstat (limited to 'BackEnd/Timeline.ErrorCodes/ErrorCodes.cs')
-rw-r--r-- | BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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
|