Fix Typo's

This commit is contained in:
stefanbenten
2020-03-06 15:43:14 +01:00
parent 38996c9c7f
commit fdca501681
2 changed files with 4 additions and 4 deletions

View File

@ -671,7 +671,7 @@ func (s *StorjStorage) Put(token string, filename string, reader io.Reader, cont
_ = writer.Abort()
return err
}
err = writer.SetCustomMetadata(ctx, uplink.CustomMetadata{"ContentType": contentType})
err = writer.SetCustomMetadata(ctx, uplink.CustomMetadata{"contentType": contentType})
if err != nil {
//Ignoring the error to return the one that occurred first, but try to clean up.
_ = writer.Abort()