mirror of https://github.com/Xhofe/alist
fix typos
parent
01104e55b1
commit
0949b3382e
|
@ -0,0 +1 @@
|
|||
Subproject commit f72324a29d8a193be6c522f73fc9c168e450260c
|
|
@ -296,7 +296,7 @@ func (d *AzureBlob) Put(ctx context.Context, dstDir model.Obj, stream model.File
|
|||
// Set content MD5 hash if available
|
||||
base64MD5 := stream.GetHash().GetHash(utils.MD5)
|
||||
if base64MD5 != "" {
|
||||
// covert base64 to hex byte
|
||||
// convert base64 to hex byte
|
||||
md5, err := base64.StdEncoding.DecodeString(base64MD5)
|
||||
if err == nil && len(md5) == 16 {
|
||||
options.HTTPHeaders.BlobContentMD5 = md5
|
||||
|
|
Loading…
Reference in New Issue