Skip to content

Commit

Permalink
fix(seafile): test_list_dir_with_metakey (#4063)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoslo authored Jan 24, 2024
1 parent 21c5e4d commit 1b3f31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/services/seafile/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;

Expand Down

0 comments on commit 1b3f31c

Please sign in to comment.