Bugfixes, reset exercise progress from frontend

This commit is contained in:
2024-10-10 14:29:45 +02:00
parent 8d78a9eeb7
commit 5f8adbaf10
7 changed files with 55 additions and 14 deletions

View File

@@ -9,4 +9,8 @@ export function getServerState() {
export function resetDatabase() {
return axios.get(BASE_URL + "/resetdatabase")
}
export function resetExerciseProgress() {
return axios.get(BASE_URL + "/resetExerciseProgress")
}

View File

@@ -14,6 +14,9 @@ export enum BannerStateEnum {
// Status: 200 OK
DATABASERESETSUCCESSFUL,
// Status: 200 OK
EXERCISEPROGRESSRESETSUCCESSFUL,
////////// API Endpoint /accounts //////////