ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests
Chocobozzz8de589b95316
diff --git a/shared/extra-utils/videos/videos-command.ts b/shared/extra-utils/videos/videos-command.tsindex 63980c147d..99f56a34c0 100644--- a/shared/extra-utils/videos/videos-command.ts+++ b/shared/extra-utils/videos/videos-command.ts@@ -449,7 +449,9 @@ export class VideosCommand extends AbstractCommand {const result = await this.sendResumableChunks({ ...options, pathUploadId, videoFilePath, size })- await this.endResumableUpload({ ...options, pathUploadId })+ if (result.statusCode === HttpStatusCode.OK_200) {+ await this.endResumableUpload({ ...options, expectedStatus: HttpStatusCode.NO_CONTENT_204, pathUploadId })+ }return result.body?.video || result.body as any}