From 2bdf55d096a034085fd18a314153fc8d33848f7b Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Sun, 22 Jun 2025 16:58:54 +0000
Subject: [PATCH] GS-2156
---
app.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/app.js b/app.js
index 3928423..3db466b 100644
--- a/app.js
+++ b/app.js
@@ -109,6 +109,11 @@
}
})
+ .post("/api/user", async function (req, res) {
+ const user = req.body
+ const res2 = await libIlias.importIliasUser(user) // TODO import or update if already available
+ return res.send(res2)
+ })
.delete("/api/user", async function (req, res) { // DELETE ALL users
const res2 = await libIlias.deleteAllUsers()
--
Gitblit v1.8.0