Add eslint

This commit is contained in:
2025-08-20 23:40:00 +02:00
parent cc544322b2
commit 16956d12f4
31 changed files with 1214 additions and 913 deletions
+2 -1
View File
@@ -28,8 +28,9 @@ export default defineEventHandler(async (event) => {
user: dbUser,
loggedInAt: user.loggedInAt
});
} catch (error) {
} catch (e) {
throw createError({
cause: e,
status: 409,
statusText: 'User with that email already exists!'
});