diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-29 21:32:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 21:32:59 +0800 |
commit | 26b578ecaa1ae6b8edc54918794150408765bcd4 (patch) | |
tree | 2e84f806d0a79488dc92e53e66b7772536f1807c /Timeline/Entities/Http/User.cs | |
parent | c9f4e8c1b95f1518c40fbb27b72dc0e4bd4e3a6d (diff) | |
parent | 9e8a24a85d819fe11a52ee95e41dfe6c3e016dce (diff) | |
download | timeline-26b578ecaa1ae6b8edc54918794150408765bcd4.tar.gz timeline-26b578ecaa1ae6b8edc54918794150408765bcd4.tar.bz2 timeline-26b578ecaa1ae6b8edc54918794150408765bcd4.zip |
Merge branch 'master' into remove-cos
Diffstat (limited to 'Timeline/Entities/Http/User.cs')
-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 |