diff options
Diffstat (limited to 'src/utils-prod.js')
| -rw-r--r-- | src/utils-prod.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils-prod.js b/src/utils-prod.js index 94d724a..6b274d8 100644 --- a/src/utils-prod.js +++ b/src/utils-prod.js @@ -40,6 +40,11 @@ export function getCourseId() { return String(M.cfg.courseId); } +export function getSesskey() { + // M is exported by Moodle + return String(M.cfg.sesskey); +} + export function getCourseParticipantsUrl() { return `https://lernplattform.bycs.de/user/index.php?id=${getCourseId()}&perpage=5000`; } |
