MIt dem aktuellen Update, durchgeführt am 09.04.2021, wurden alle vorhanden Benutzer-Profile automatisch auf privat gesetzt. Wer ein öffentliches Profil haben möchte, muss diese Einstellung nun manuell unter den Profileinstellungen umstellen.

Commit 0efcb98e authored by Daniel Schiffner's avatar Daniel Schiffner

Docu

parent b4ab3ae5
# ibsd-xslx-assignment
Known environment config vars
| Name | Desc | Default |
| --------------------- | ---- | ------- |
| IBSD_ASSIGNMENTS_FILE | An xls for user -> course assignment | "assignments.xls" |
......@@ -2,6 +2,7 @@ const express = require("express");
const {findAssignment, watcher} = require('./assignments');
let router = new express.Router();
//Plugin functions
router.init = () => {};
router.close = async () => {
......@@ -9,6 +10,7 @@ router.close = async () => {
console.log("Watcher closed");
};
//Routes
router.use("/courses/:course?", (req, res, next) => {
let user = req.query['userId'];
console.log(`Check if a course is available for user ${user}`);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment