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

@ -92,6 +92,8 @@ type AttachmentFragment struct {
PoolID *uint `json:"pool_id"`
AccountID uint `json:"account_id"`
FileChunksMissing []string `json:"file_chunks_missing" gorm:"-"` // This field use to prompt client which chunks is pending upload, do not store it
}
func (v AttachmentFragment) ToAttachment() Attachment {