Allow updating remote timetables with permission

This commit is contained in:
2023-06-20 20:22:51 +02:00
parent 5d9317ac01
commit 41c0d329fb
5 changed files with 91 additions and 5 deletions

View File

@ -8,6 +8,7 @@ import {
getSubstitutions,
getHistory,
getClasses,
putTimetable,
getInfo,
putKey,
deleteKey,
@ -63,6 +64,7 @@ app.get("/api/info", getInfo);
app.put("/api/key", putKey);
app.delete("/api/key", deleteKey);
app.get("/api/timetable", getTimetable);
app.put("/api/timetable", putTimetable);
app.get("/api/substitutions", getSubstitutions);
app.get("/api/history", getHistory);
app.get("/api/classes", getClasses);