diff --git a/static/js/main.js b/static/js/main.js
index e68321c..0186b18 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -632,7 +632,7 @@ function updateDemandes() {
Statue: ${pd[pd_uid].state}
${ (pd[pd_uid].state != "Accepted" && pd[pd_uid].state != "Refused" ) ?
`
- Annuler
+ Annuler
`
: ''
}
@@ -646,7 +646,7 @@ function updateDemandes() {
data: JSON.stringify({
uid: localStorage.getItem('user'),
token: localStorage.getItem('token'),
- prankUid: pd_uid
+ prankUid: this.id()
}),
contentType: "application/json; charset=utf-8",