1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-05-11 15:53:07 +00:00

Some iprovements idfk

Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2025-01-27 23:34:46 -05:00
parent a3e6df6ce8
commit 961d963677
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
13 changed files with 160 additions and 102 deletions

View file

@ -93,7 +93,8 @@ export default async function (app: Express, db: NodePgDatabase) {
).map((e) => {
return {
token: e.token,
expires: now.to(dayjs(e.expires || 0))
expires: e.expires,
expiresString: now.to(dayjs(e.expires || 0))
};
});
const { codesUsed } = (