Browse Source

Fix merge conflict (#7164)

pull/6936/head^2
Daniel García 2 weeks ago
committed by GitHub
parent
commit
c3bd1eb565
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/api/core/ciphers.rs

4
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
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!({
"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
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!({
"data": ciphers,

Loading…
Cancel
Save