mirror of https://github.com/Xhofe/alist
fix(lanzou): files cannot be uploaded to the specified directory (#3157)
* Update driver.go * fix(Lanzou):files cannot be uploaded to the specified directory Solve the problem that files cannot be uploaded to the specified directorypull/3188/head
parent
44f8112e53
commit
14305748f0
|
@ -214,7 +214,7 @@ func (d *LanZou) Put(ctx context.Context, dstDir model.Obj, stream model.FileStr
|
|||
"ve": "2",
|
||||
"id": "WU_FILE_0",
|
||||
"name": stream.GetName(),
|
||||
"folder_id": dstDir.GetID(),
|
||||
"folder_id_bb_n": dstDir.GetID(),
|
||||
}).SetFileReader("upload_file", stream.GetName(), stream).SetContext(ctx)
|
||||
}, &resp, true)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue