Adjust isAuthed function, not actually checking anything previously
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
588efcad3d
commit
3798f2c980
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user