feat: store attachments with the card rather than as a file
This commit is contained in:
parent
ee7c0f230c
commit
131850b8dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue