REST Service for POPCORN - ILIAS
alex
2025-06-18 a845b328e326fc8c827ca43fafd43e8c39640275
lib/libIlias.js
@@ -11,7 +11,7 @@
const settings = require("../settings")
const {getObjIdFromRefId} = require("./db")
const db = require("./db")
const {url} = settings.ilias
const {url, iliastoken} = settings.ilias
/////////////////////////////////////////////////////////////////////////
@@ -21,6 +21,7 @@
      obj_id,
      // dry: "1",
      dry: dry ? "1" : "0",
      token: iliastoken,
   })
   let url2 = `${url}?${sp.toString()}`
   const res = await fetch(url2, {method: "DELETE"})
@@ -57,6 +58,7 @@
      obj_id,
      usr_id,
      dry: dry ? "1" : "0",
      token: iliastoken,
   })
   let url2 = `${url}?${sp.toString()}`
   console.log("libIlias.deleteTeilnahme >>>", url2)