diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-05-29 14:55:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-05-29 14:55:08 +0200 |
| commit | 0d74e04fae3fd118c207de0634b6463bd68f3890 (patch) | |
| tree | 1eeb92a9532bb9c75e61a36c5f4c7af0425ad316 /cockpit/js/config.js | |
| parent | 57432354285f2894137c4cc5d80e569410318221 (diff) | |
| download | bycs-sol-0d74e04fae3fd118c207de0634b6463bd68f3890.tar.gz bycs-sol-0d74e04fae3fd118c207de0634b6463bd68f3890.zip | |
cockpit: adapt GraduationChange and implement adding entries to DB
Diffstat (limited to 'cockpit/js/config.js')
| -rw-r--r-- | cockpit/js/config.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cockpit/js/config.js b/cockpit/js/config.js index 94dbfc2..545c579 100644 --- a/cockpit/js/config.js +++ b/cockpit/js/config.js @@ -1,8 +1,9 @@ -const GRADUATION_DB = "https://lernplattform.bycs.de/mod/data/view.php?d=262744"; +const GRADUATION_DB_ID = 262744; +const GRADUATION_ACTIVITY_ID = 92663494; const GRADUATION_DB_PARAMS_MAP = { id: "f_1133275", - // name: "f_1130848", - // group: "f_1130869", + name: "f_1130848", + group: "f_1130869", change: "f_1133254", reason: "f_1130860", date: (date) => { @@ -13,7 +14,6 @@ const GRADUATION_DB_PARAMS_MAP = { f_1130863_z: 1, }; }, - time: "f_1133248", coach: "f_1130866", } @@ -33,7 +33,7 @@ async function getUserIconUrl(userId) { } export { - GRADUATION_DB, GRADUATION_DB_PARAMS_MAP, + GRADUATION_DB_ID, GRADUATION_ACTIVITY_ID, GRADUATION_DB_PARAMS_MAP, getCourseId, getUserIconUrl, getCourseParticipantsUrl |
