From 5b7b0120406ef4c609c07ab57074a76a753cd1fd Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 15 Nov 2020 20:31:22 +0800 Subject: feat: Now changing user permission 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 91e0c1fd..df3d1861 100644 --- a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs +++ b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs @@ -43,6 +43,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 static class UserAvatar -- cgit v1.2.3