feat: store attachments with the card rather than as a file
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 3m51s
Test / build (map[name:stable]) (push) Successful in 3m36s
Release Please / Release-plz (push) Failing after 42s

This commit is contained in:
Paul Campbell 2024-12-23 09:44:02 +00:00
parent ee7c0f230c
commit 131850b8dc

View file

@ -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