mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 09:18:09 +03:00
Fixed some clippy lints and changed update_uuid_revision to only use one db query
This commit is contained in:
8 files changed
+32
-27
No files matched your search
+2
-2
@@ -86,8 +86,8 @@ pub fn send_invite(
|
||||
"email/send_org_invite",
|
||||
json!({
|
||||
"url": CONFIG.domain(),
|
||||
"org_id": org_id.unwrap_or("_".to_string()),
|
||||
"org_user_id": org_user_id.unwrap_or("_".to_string()),
|
||||
"org_id": org_id.unwrap_or_else(|| "_".to_string()),
|
||||
"org_user_id": org_user_id.unwrap_or_else(|| "_".to_string()),
|
||||
"email": address,
|
||||
"org_name": org_name,
|
||||
"token": invite_token,
|
||||
|
||||
Reference in new issue
Block a user