From 1b3f31ccc66de8741a77f073fa860b4ba955e0e7 Mon Sep 17 00:00:00 2001 From: hoslo Date: Wed, 24 Jan 2024 15:53:30 +0800 Subject: [PATCH] fix(seafile): test_list_dir_with_metakey (#4063) --- core/src/services/seafile/writer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/services/seafile/writer.rs b/core/src/services/seafile/writer.rs index 0496d5cad9d5..6861406b2b20 100644 --- a/core/src/services/seafile/writer.rs +++ b/core/src/services/seafile/writer.rs @@ -71,10 +71,10 @@ impl oio::OneShotWrite for SeafileWriter { .stream(bs.len() as u64, Box::new(bs)); let multipart = Multipart::new() - .part(file_part) .part(FormDataPart::new("parent_dir").content("/")) .part(FormDataPart::new("relative_path").content(relative_path.clone())) - .part(FormDataPart::new("replace").content("1")); + .part(FormDataPart::new("replace").content("1")) + .part(file_part); let req = multipart.apply(req)?;