diff --git a/src/nextcloud/client.rs b/src/nextcloud/client.rs index 388c887..479e579 100644 --- a/src/nextcloud/client.rs +++ b/src/nextcloud/client.rs @@ -228,7 +228,7 @@ impl<'ctx> DeckClient<'ctx> { APIResult::new( with_exponential_backoff!(&self.ctx, { let form: multipart::Form = multipart::Form::new(); - let form = form.text("type", "deck_file"); + let form = form.text("type", "file"); let form = form .file("file", file.as_pathbuf()) .await