mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Return server error.
This commit is contained in:
parent
4d6ec631f7
commit
6466cef269
2 changed files with 146 additions and 142 deletions
|
|
@ -31,7 +31,7 @@ export async function POST(request: Request) {
|
|||
|
||||
const { id, role, createdAt } = user;
|
||||
|
||||
let token = null;
|
||||
let token: string;
|
||||
|
||||
if (redis.enabled) {
|
||||
token = await saveAuth({ userId: id, role });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue