fix: pass model protocol property
This commit is contained in:
parent
3e0246df28
commit
e0de290cff
|
@ -508,7 +508,7 @@ func (s *StorageServiceImpl) buildNewTusUploadTask(upload *models.TusUpload) (jo
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
err = s.PutFile(reader, s.portal.Config().GetString("core.storage.s3.bucket"), dbHash)
|
err = s.PutFile(reader, upload.Protocol, dbHash)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.portal.Logger().Error("Could not upload file", zap.Error(err))
|
s.portal.Logger().Error("Could not upload file", zap.Error(err))
|
||||||
|
|
Loading…
Reference in New Issue