Adjust isAuthed function, not actually checking anything previously

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-09-10 21:37:22 +01:00
parent 588efcad3d
commit 3798f2c980

View File

@ -9,7 +9,7 @@ import { minifyMail } from "./minify.utils";
async function isAuthed(uuid: string): Promise<boolean> { async function isAuthed(uuid: string): Promise<boolean> {
// Needs testing // Needs testing
const q = { const q = {
/*uuid: uuid*/ uuid: uuid
}; };
const res = await db.query("users", q); const res = await db.query("users", q);
logs.out( logs.out(