Skip to content

Commit 3304104

Browse files
fix: execute delete query for pruning uploads (#123)
Co-authored-by: Louis Haftmann <30736553+LouisHaftmann@users.noreply.github.com>
1 parent 50b6f79 commit 3304104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/storage/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export async function initializeStorage() {
271271
.catch(() => {
272272
// noop
273273
})
274-
await db.deleteFrom('uploads').where('id', '=', upload.id)
274+
await db.deleteFrom('uploads').where('id', '=', upload.id).execute()
275275
}
276276
},
277277
}

0 commit comments

Comments
 (0)