From 14305748f037677ec664274d14e71111b931dedd Mon Sep 17 00:00:00 2001 From: xsgy <86878459+Kx-Y@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:46:54 +0800 Subject: [PATCH] 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 --- drivers/lanzou/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lanzou/driver.go b/drivers/lanzou/driver.go index fc01ae35..cae0c3eb 100644 --- a/drivers/lanzou/driver.go +++ b/drivers/lanzou/driver.go @@ -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 {