@@ -131,19 +131,11 @@
{{i18n("courses.toDelete")}} :
-
- {{i18n("login.password")}}:
-
-
-
- {{i18n("login.cPassword")}} :
-
-
-
+
diff --git a/frontend/src/rest/restConsumer.js b/frontend/src/rest/restConsumer.js
index 9680ac8..2ac4cc3 100644
--- a/frontend/src/rest/restConsumer.js
+++ b/frontend/src/rest/restConsumer.js
@@ -16,8 +16,8 @@ export async function restPostFile(endPoint, file){
return await _rest(endPoint, {method: "POST", credentials: 'include', body: file, headers: headers });
}
-export async function restDelete(endPoint, data) {
- return await _rest(endPoint, {method: "DELETE", credentials: 'include', body: JSON.stringify(data)});
+export async function restDelete(endPoint) {
+ return await _rest(endPoint, {method: "DELETE"});
}
export async function restPatch(endPoint, data) {