Return server error.
This commit is contained in:
1 parent
4d6ec631f7
commit
6466cef269
2 files changed
+146
-142
No files matched your search
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user