diff options
author | Daniel García <[email protected]> | 2022-07-15 19:06:09 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2022-07-15 19:06:09 +0200 |
commit | 7cbcad0e389d6017b941e00051621010066bf796 (patch) | |
tree | f6c74e6f56ae186f4ca464a20f98f6d469353f75 /src/api/admin.rs | |
parent | fc5928772b43d7648a2a7ae6c373dcfad0756707 (diff) | |
parent | e167798449c0647ac17762f154b2d002564cff34 (diff) | |
download | vaultwarden-7cbcad0e389d6017b941e00051621010066bf796.tar.gz vaultwarden-7cbcad0e389d6017b941e00051621010066bf796.zip |
Merge branch 'BlackDex-more-clippy-checks' into main
Diffstat (limited to 'src/api/admin.rs')
-rw-r--r-- | src/api/admin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin.rs b/src/api/admin.rs index 2565445a..19638ef3 100644 --- a/src/api/admin.rs +++ b/src/api/admin.rs @@ -427,7 +427,7 @@ async fn update_user_org_type(data: Json<UserOrgTypeData>, _token: AdminToken, c } } - user_to_edit.atype = new_type as i32; + user_to_edit.atype = new_type; user_to_edit.save(&conn).await } |