Moved model into parent folder, npm update, small auth improvement

This commit is contained in:
2024-09-14 17:29:26 +02:00
parent b439421516
commit 48155b8d66
4 changed files with 27 additions and 90 deletions

View File

@ -42,6 +42,6 @@ export async function Authentication(socket: TSocket, next: any) {
})
} else {
logger.warn('No token provided')
next(new Error('Authentication error'))
return next(new Error('Authentication error'))
}
}