fix: 错误的使用 admin 表名, 应为 getJoinRequestsTableName
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user