From 5d6c4d666043e8f8882bc57e04184134a77ffd97 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sun, 26 Oct 2025 14:19:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=99=E8=AF=AF=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20admin=20=E8=A1=A8=E5=90=8D,=20=E5=BA=94=E4=B8=BA=20?= =?UTF-8?q?getJoinRequestsTableName?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/data/Chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/data/Chat.ts b/server/data/Chat.ts index 34e13a6..2b32181 100644 --- a/server/data/Chat.ts +++ b/server/data/Chat.ts @@ -137,7 +137,7 @@ export default class Chat { return Chat.database.prepare(`SELECT * FROM ${this.getJoinRequestsTableName()}`).all() } protected findAllJoinRequestsByCondition(condition: string, ...args: SQLInputValue[]) { - return Chat.database.prepare(`SELECT * FROM ${this.getAdminsTableName()} WHERE ${condition}`).all(...args) + return Chat.database.prepare(`SELECT * FROM ${this.getJoinRequestsTableName()} WHERE ${condition}`).all(...args) } /**