Fix for bug #138
This commit is contained in:
parent
ba0f004df7
commit
55da6bbbf7
|
@ -167,6 +167,7 @@ func (store S3Store) NewUpload(info tusd.FileInfo) (id string, err error) {
|
||||||
var uploadId string
|
var uploadId string
|
||||||
if info.ID == "" {
|
if info.ID == "" {
|
||||||
uploadId = uid.Uid()
|
uploadId = uid.Uid()
|
||||||
|
info.ID = uploadId
|
||||||
} else {
|
} else {
|
||||||
uploadId = info.ID
|
uploadId = info.ID
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue