Bugfixes, reset exercise progress from frontend
This commit is contained in:
@@ -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")
|
||||
}
|
||||
@@ -14,6 +14,9 @@ export enum BannerStateEnum {
|
||||
// Status: 200 OK
|
||||
DATABASERESETSUCCESSFUL,
|
||||
|
||||
// Status: 200 OK
|
||||
EXERCISEPROGRESSRESETSUCCESSFUL,
|
||||
|
||||
|
||||
////////// API Endpoint /accounts //////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user