wrong field name correct
This commit is contained in:
parent
cb6b26e648
commit
a08f13b9e5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue