Fragment uploading continue

This commit is contained in:
2024-12-28 13:56:25 +08:00
parent 30097256b6
commit 99dd7f55e0
4 changed files with 15 additions and 1 deletions

View File

@ -58,6 +58,8 @@ func createAttachmentFragment(c *fiber.Ctx) error {
})
if err != nil {
return fiber.NewError(fiber.StatusBadRequest, err.Error())
} else {
metadata.FileChunksMissing = services.FindFragmentMissingChunks(metadata)
}
return c.JSON(fiber.Map{