refactor comment

This commit is contained in:
ArenMg 2021-05-19 10:51:28 +03:00
parent 58e3dba66c
commit 1ce12f653e

View file

@ -287,8 +287,6 @@ module.exports = {
let _ = await axios.delete( let _ = await axios.delete(
`${baseUrl}/ws/comments/delete/${idComment}` `${baseUrl}/ws/comments/delete/${idComment}`
); );
console.log(idComment)
console.log(_)
swal("Succès!", "Le commentaire a été supprimé", "success").then( swal("Succès!", "Le commentaire a été supprimé", "success").then(
(value) => { (value) => {
location.reload(); location.reload();