Req/Reg functions work when testing. To test with frontend

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-04-06 20:40:51 +01:00
parent 90348f48f3
commit 04d7e17965

View File

@ -54,7 +54,7 @@ async function addRegReq(uuid, domain) { // Needs testing
}
async function userAtime(uuid) { // Needs testing
log.out(`dbAccess.userAtime: Updating access time for user`)
log.out(`dbAccess.userAtime: Updating access time for user`);
let q = {uuid: uuid};
let n = {$set: {uuid: uuid, atime: new Date}};
await client.connect();