diff --git a/src/api.ts b/src/api.ts index e78ed21..e9b0cce 100644 --- a/src/api.ts +++ b/src/api.ts @@ -24,7 +24,7 @@ export const Post = async (post_form: Inputs) => { processed_form.set('content', post_form.content) if (post_form.files && post_form.files.length > 0) { for (const file of post_form.files) { - processed_form.append('files', file) + processed_form.append('enclosure', file) } } if (post_form.signing && post_form.signing.length > 0) {