diff --git a/s3store/s3store.go b/s3store/s3store.go index 90c6ed6..945c6f7 100644 --- a/s3store/s3store.go +++ b/s3store/s3store.go @@ -167,6 +167,7 @@ func (store S3Store) NewUpload(info tusd.FileInfo) (id string, err error) { var uploadId string if info.ID == "" { uploadId = uid.Uid() + info.ID = uploadId } else { uploadId = info.ID }