mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
feat: enhance authentication and settings UI
This commit is contained in:
@@ -392,6 +392,11 @@ export class StorageService {
|
||||
return (result.meta.changes ?? 0) > 0;
|
||||
}
|
||||
|
||||
async deleteAllInvites(): Promise<number> {
|
||||
const result = await this.db.prepare('DELETE FROM invites').run();
|
||||
return Number(result.meta.changes ?? 0);
|
||||
}
|
||||
|
||||
async createAuditLog(log: AuditLog): Promise<void> {
|
||||
await this.db
|
||||
.prepare(
|
||||
|
||||
Reference in New Issue
Block a user