diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-20 13:44:46 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-20 13:44:46 +0000 |
| commit | 224b7e52c7a7a02d36a82c070925a2e506b7b2f4 (patch) | |
| tree | 1235a14e37866c088b3e826b2b58f8d77bd70c83 /src/models/user.rs | |
| parent | e0d034dc818c699f4e6ecdd5a027ff7377421acd (diff) | |
Delete model
Diffstat (limited to 'src/models/user.rs')
| -rw-r--r-- | src/models/user.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/user.rs b/src/models/user.rs index 964a57c..c4debf5 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -27,7 +27,7 @@ pub struct UserList { pub id: i32, email: String, username: String, - is_staff: Option<bool>, + pub is_staff: Option<bool>, #[serde_as(as = "NoneAsEmptyString")] pub avatar: Option<String>, } |
