Interface SAV

This commit is contained in:
Jonathan Chevalier
2023-07-19 18:25:43 +02:00
parent df95e2b876
commit a34aa1c445
3 changed files with 7 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ export default {
return response.json();
},
async saveMessage(id, quill, attachedDoc, replyOption) {
async saveMessage(code, id, quill, attachedDoc, replyOption) {
const apiUrl = '/App/api.php?prj=pharmamp&controller=TicketingController&method=saveMessage'
if (import.meta.env.DEV) {
console.log(apiUrl)
@@ -53,6 +53,7 @@ export default {
const postData = new FormData();
postData.append("id_business", id);
postData.append("code_business", code);
postData.append("quill", quill);
if (attachedDoc !== null) {