From 55da6bbbf725c807ceb5c3d30b63e26aa6c7a925 Mon Sep 17 00:00:00 2001 From: Markus Kienast Date: Thu, 13 Jul 2017 00:45:10 +0200 Subject: [PATCH] Fix for bug #138 --- s3store/s3store.go | 1 + 1 file changed, 1 insertion(+) 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 }