From 2920ccfa508fe5e8c32905fe102758b65fb37574 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Thu, 08 Oct 2026 16:42:29 +0000
Subject: [PATCH] GS-2555
---
lib/libIlias.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/libIlias.js b/lib/libIlias.js
index 37b4108..1b5630d 100644
--- a/lib/libIlias.js
+++ b/lib/libIlias.js
@@ -5,6 +5,7 @@
const db = require("./db")
const {url, iliastoken} = settings.ilias
const search = require("./search")
+const log = require("../logger")
/////////////////////////////////////////////////////////////////////////
@@ -35,7 +36,7 @@
token: iliastoken,
})
let url2 = `${url}?${sp.toString()}`
- console.log("pinging url", url2)
+ log.debug("pinging url", url2)
const res = await fetch(url2, {method: "GET"})
return await res.json() //
}
@@ -192,7 +193,7 @@
token: iliastoken,
})
let url2 = `${url}?${sp.toString()}`
- console.log(url2)
+ log.debug(url2)
const res = await fetch(url2, {method: "POST"})
return await res.json()
}
@@ -205,7 +206,7 @@
token: iliastoken,
})
let url2 = `${url}?${sp.toString()}`
- console.log(url2)
+ log.debug(url2)
const res = await fetch(url2, {method: "DELETE"})
return await res.json()
}
--
Gitblit v1.8.0