From 131850b8dcd986765b82cfb00a0969a2b8ea2d13 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 23 Dec 2024 09:44:02 +0000 Subject: [PATCH] feat: store attachments with the card rather than as a file --- src/nextcloud/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextcloud/client.rs b/src/nextcloud/client.rs index 479e579..388c887 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", "file"); + let form = form.text("type", "deck_file"); let form = form .file("file", file.as_pathbuf()) .await