mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 02:36:41 +03:00
Fix some nightly build errors (#4657)
This commit is contained in:
1 parent
55fdee3bf8
commit
9082e7cebb
3 files changed
+9
-2
No files matched your search
@@ -95,7 +95,7 @@ impl Attachment {
|
||||
|
||||
pub async fn delete(&self, conn: &mut DbConn) -> EmptyResult {
|
||||
db_run! { conn: {
|
||||
crate::util::retry(
|
||||
let _: () = crate::util::retry(
|
||||
|| diesel::delete(attachments::table.filter(attachments::id.eq(&self.id))).execute(conn),
|
||||
10,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user