diff options
Diffstat (limited to 'src/db/models/attachment.rs')
-rw-r--r-- | src/db/models/attachment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/models/attachment.rs b/src/db/models/attachment.rs index 83f4889c..65855cc0 100644 --- a/src/db/models/attachment.rs +++ b/src/db/models/attachment.rs @@ -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, ) |