mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Return proper response.
This commit is contained in:
parent
4ddf8d0d56
commit
64312d259d
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {
|
|||
const session = req.session;
|
||||
|
||||
if (!session?.id || !session?.websiteId) {
|
||||
return;
|
||||
return ok(res, {});
|
||||
}
|
||||
|
||||
const iat = Math.floor(new Date().getTime() / 1000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue