mirror of
https://github.com/ArenMg/aren.git
synced 2024-11-22 00:20:52 +00:00
refactor comment
This commit is contained in:
parent
58e3dba66c
commit
1ce12f653e
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue