Daniel García
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
src/api/core/ciphers.rs
|
|
@ -2056,7 +2056,7 @@ async fn archive_multiple_ciphers( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Multi archive does not send out a push for each cipher, we need to send a general sync here
|
|
|
// Multi archive does not send out a push for each cipher, we need to send a general sync here
|
|
|
nt.send_user_update(UpdateType::SyncCiphers, &headers.user, &headers.device.push_uuid, conn).await; |
|
|
nt.send_user_update(UpdateType::SyncCiphers, &headers.user, headers.device.push_uuid.as_ref(), conn).await; |
|
|
|
|
|
|
|
|
Ok(Json(json!({ |
|
|
Ok(Json(json!({ |
|
|
"data": ciphers, |
|
|
"data": ciphers, |
|
|
@ -2082,7 +2082,7 @@ async fn unarchive_multiple_ciphers( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Multi unarchive does not send out a push for each cipher, we need to send a general sync here
|
|
|
// Multi unarchive does not send out a push for each cipher, we need to send a general sync here
|
|
|
nt.send_user_update(UpdateType::SyncCiphers, &headers.user, &headers.device.push_uuid, conn).await; |
|
|
nt.send_user_update(UpdateType::SyncCiphers, &headers.user, headers.device.push_uuid.as_ref(), conn).await; |
|
|
|
|
|
|
|
|
Ok(Json(json!({ |
|
|
Ok(Json(json!({ |
|
|
"data": ciphers, |
|
|
"data": ciphers, |
|
|
|