From e361f50baa6401297ec0e86f14593c5f58490329 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Sun, 22 Jun 2025 16:20:01 +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