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 | e1d438454869bce7c086bbe6ba98ca8c5aa74ecd (patch) | |
tree | 1831dc93bcea72b38a914166b4df50226877e9d3 /Timeline/Entities/Http | |
parent | 246e4eafeb10a26e049d1905c9721c1fb1181aed (diff) | |
download | timeline-e1d438454869bce7c086bbe6ba98ca8c5aa74ecd.tar.gz timeline-e1d438454869bce7c086bbe6ba98ca8c5aa74ecd.tar.bz2 timeline-e1d438454869bce7c086bbe6ba98ca8c5aa74ecd.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 |