diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-29 21:07:46 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-07-29 21:07:46 +0800 |
commit | 39e59e7320c6f53d1d2d2fdc4780877155fb6361 (patch) | |
tree | 1831dc93bcea72b38a914166b4df50226877e9d3 /Timeline/Entities/Http | |
parent | e21ef1ac89c799ded14fce8f4f319b0e5ac7ab81 (diff) | |
download | timeline-39e59e7320c6f53d1d2d2fdc4780877155fb6361.tar.gz timeline-39e59e7320c6f53d1d2d2fdc4780877155fb6361.tar.bz2 timeline-39e59e7320c6f53d1d2d2fdc4780877155fb6361.zip |
Rename isAdmin to administrator.
Diffstat (limited to 'Timeline/Entities/Http')
-rw-r--r-- | Timeline/Entities/Http/User.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Entities/Http/User.cs b/Timeline/Entities/Http/User.cs index 91423c7b..b5384778 100644 --- a/Timeline/Entities/Http/User.cs +++ b/Timeline/Entities/Http/User.cs @@ -3,13 +3,13 @@ public class UserPutRequest { public string Password { get; set; } - public bool IsAdmin { get; set; } + public bool Administrator { get; set; } } public class UserPatchRequest { public string Password { get; set; } - public bool? IsAdmin { get; set; } + public bool? Administrator { get; set; } } public class ChangePasswordRequest |