diff options
author | Daniel GarcĂa <[email protected]> | 2023-06-22 17:58:15 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-22 17:58:15 +0200 |
commit | c56bf3807929c2675c9c15edac759166f96691d2 (patch) | |
tree | 3056274a3408c0d75430cc0e902c3ef980dd1243 | |
parent | 550794b127380c6cde7d601dff51e9adb060d8a8 (diff) | |
parent | 3c0cac623db9aa7bc2b7514524467fc5ae982ab9 (diff) | |
download | vaultwarden-c56bf3807929c2675c9c15edac759166f96691d2.tar.gz vaultwarden-c56bf3807929c2675c9c15edac759166f96691d2.zip |
Merge pull request #3608 from BlackDex/fix-issue-3607
Fix send access regression
-rw-r--r-- | src/api/core/sends.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/api/core/sends.rs b/src/api/core/sends.rs index 56613a2f..7b91299b 100644 --- a/src/api/core/sends.rs +++ b/src/api/core/sends.rs @@ -374,7 +374,6 @@ pub struct SendAccessData { async fn post_access( access_id: &str, data: JsonUpcase<SendAccessData>, - headers: Headers, mut conn: DbConn, ip: ClientIp, nt: Notify<'_>, @@ -423,7 +422,7 @@ async fn post_access( UpdateType::SyncSendUpdate, &send, &send.update_users_revision(&mut conn).await, - &headers.device.uuid, + &String::from("00000000-0000-0000-0000-000000000000"), &mut conn, ) .await; @@ -437,7 +436,6 @@ async fn post_access_file( file_id: &str, data: JsonUpcase<SendAccessData>, host: Host, - headers: Headers, mut conn: DbConn, nt: Notify<'_>, ) -> JsonResult { @@ -482,7 +480,7 @@ async fn post_access_file( UpdateType::SyncSendUpdate, &send, &send.update_users_revision(&mut conn).await, - &headers.device.uuid, + &String::from("00000000-0000-0000-0000-000000000000"), &mut conn, ) .await; |