mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 19:31:38 +01:00
forgot to remove one line of debugging lol
This commit is contained in:
@@ -68,7 +68,6 @@ export async function deleteAuthRecord(userId: string): Promise<void> {
|
||||
try {
|
||||
const data = await db.query<getAuthRecordQuery[][]>("SELECT * FROM auth WHERE user=$userId;", { userId });
|
||||
if (!data[0] || !data[0][0]) return undefined;
|
||||
console.log(data)
|
||||
for (const obj of data[0]) {
|
||||
db.delete(obj.id);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user