forked from noxious/server
Removed migrations (oops), npm update, registration bug fix, include spriteImages in spriteRepository, few typo fixes
This commit is contained in:
@ -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' })
|
||||
|
Reference in New Issue
Block a user