diff --git a/assets/js/components/posts/form.js b/assets/js/components/posts/form.js index 18a314b0..01ea23af 100644 --- a/assets/js/components/posts/form.js +++ b/assets/js/components/posts/form.js @@ -374,7 +374,7 @@ ComunicWeb.components.posts.form = { //Append values datas.append("kind", "pdf"); - datas.append("image", pdfFileInput.files[0], pdfFileInput.files[0].name); + datas.append("pdf", pdfFileInput.files[0], pdfFileInput.files[0].name); }