mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00
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 directory
This commit is contained in:
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…
x
Reference in New Issue
Block a user