1
0
forked from noxious/server

Removed migrations (oops), npm update, registration bug fix, include spriteImages in spriteRepository, few typo fixes

This commit is contained in:
2024-07-24 03:27:22 +02:00
parent 4b81d7ff67
commit a0fe0760b0
22 changed files with 175 additions and 236 deletions

View File

@ -89,7 +89,7 @@ async function addHttpRoutes(app: Application) {
const user = await userService.register(username, password)
if (user) {
return res.status(200)
return res.status(200).json({ message: 'User registered' })
}
return res.status(400).json({ message: 'Failed to register user' })