Fix some nightly build errors (#4657)

This commit is contained in:
Daniel García authored and GitHub committed 2024-06-20 09:35:52 +02:00
1 parent 55fdee3bf8
commit 9082e7cebb
3 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -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,
)