We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8afba4 commit 77127a8Copy full SHA for 77127a8
packages/web-backend/src/Videos/index.ts
@@ -342,13 +342,6 @@ export class Videos extends Effect.Service<Videos>()("Videos", {
342
yield* db.use((db) =>
343
db.transaction(async (tx) => {
344
if (record.upload) {
345
- if (uploaded === total && record.upload.mode !== "multipart") {
346
- await tx
347
- .delete(Db.videoUploads)
348
- .where(Dz.eq(Db.videoUploads.videoId, videoId));
349
- return;
350
- }
351
-
352
await tx
353
.update(Db.videoUploads)
354
.set({
0 commit comments