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> {
// Needs testing
const q = {
/*uuid: uuid*/
uuid: uuid
};
const res = await db.query("users", q);
logs.out(