360 : improve comment system

This commit is contained in:
isUnknown 2024-12-20 12:42:32 +01:00
parent f790653fcf
commit 82e944cd31
2 changed files with 8 additions and 4 deletions

View file

@ -127,8 +127,6 @@ export const useApiStore = defineStore("api", () => {
body: JSON.stringify(comment),
};
console.log("Commentaire à enregistrer :", comment);
try {
const response = await fetch("/create-comment.json", headers);
if (!response.ok) {
@ -174,8 +172,6 @@ export const useApiStore = defineStore("api", () => {
body: JSON.stringify(comment),
};
console.log("Réponse à enregistrer :", comment);
try {
const response = await fetch("/reply-comment.json", headers);
if (!response.ok) {