From 3a06e3121dd540e7c26fa691b967717a9300731a Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Fri, 11 Jul 2025 08:14:01 +0000
Subject: [PATCH] adding tn by rolle

---
 lib/db.js |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/lib/db.js b/lib/db.js
index 3355fa9..13c40a1 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -436,14 +436,7 @@
                 AND od.description LIKE 'Member%${obj_id}'
    `
    const [results] = await pool.query(q)
-   // darf nur einen Treffer ergeben
-   if (results.length) {
-      const {obj_id, title, description} = results[0]
-      return obj_id
-   }
-   else {
-      return null
-   }
+   return results
 }
 
 

--
Gitblit v1.8.0