feature: events polling
This commit is contained in:
parent
61a51017a3
commit
b700251278
19 changed files with 353 additions and 77 deletions
|
@ -53,7 +53,7 @@ export async function POST(req: Request, meta: Record<string, any>): Promise<Res
|
|||
let user: USER | undefined = undefined;
|
||||
user = (await USERS.find({
|
||||
username
|
||||
})).shift();
|
||||
})).shift()?.load();
|
||||
|
||||
if (!user) {
|
||||
return Response.json({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue