From 98aaeb1328c9f72ead37ff5fc20e97d59bbe4e7e Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Tue, 17 Jun 2025 14:58:56 +0000
Subject: [PATCH] GS-1843

---
 lib/libIlias.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/libIlias.js b/lib/libIlias.js
index df87347..b3d02a9 100644
--- a/lib/libIlias.js
+++ b/lib/libIlias.js
@@ -25,11 +25,12 @@
    let url2 = `${url}?${sp.toString()}`
    const res = await fetch(url2, {method: "DELETE"})
    const data = await res.json()
+   // TODO update search index
    return data //
 }
 
 async function deleteAllUsers () {
-   const users = await db.getUsers()
+   const {data: users} = await db.getUsers(0, 100000)
    const res = {
       command: "deleteAllUsers",
       start: new Date(),
@@ -45,6 +46,7 @@
    }
    res.end = new Date()
    res.duration = res.end - res.start
+   // TODO update search index
    return res
 }
 

--
Gitblit v1.8.0