wrong field name correct

This commit is contained in:
jasinco 2025-06-11 07:48:29 +08:00
parent cb6b26e648
commit a08f13b9e5

View file

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