Req/Reg functions work when testing. To test with frontend
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
90348f48f3
commit
04d7e17965
@ -54,7 +54,7 @@ async function addRegReq(uuid, domain) { // Needs testing
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function userAtime(uuid) { // 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 q = {uuid: uuid};
|
||||||
let n = {$set: {uuid: uuid, atime: new Date}};
|
let n = {$set: {uuid: uuid, atime: new Date}};
|
||||||
await client.connect();
|
await client.connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user