Skip to content

Commit

Permalink
i'm dumb too
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbanSdl committed May 15, 2024
1 parent 2211b73 commit 35a8ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/apiRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ apiRouter.post("/sesame", async (request: Request, response: Response) => {
where: {
code: sesame,
date: null,
codeGeneratedAt: new Date(Date.now() - CODE_LIFETIME),
codeGeneratedAt: { gte: new Date(Date.now() - CODE_LIFETIME) },
},
select: {
return: {
Expand Down

0 comments on commit 35a8ae4

Please sign in to comment.