npm format

This commit is contained in:
2024-11-04 01:05:21 +01:00
parent f475b69022
commit 7ec4303b40
6 changed files with 37 additions and 26 deletions

View File

@ -76,7 +76,7 @@ async function addHttpRoutes(app: Application) {
}
const userService = new UserService()
const sentEmail = await userService.resetPassword( email )
const sentEmail = await userService.resetPassword(email)
if (sentEmail) {
return res.status(200).json({ message: 'Email has been sent' })
@ -100,7 +100,7 @@ async function addHttpRoutes(app: Application) {
}
const userService = new UserService()
const resetPassword = await userService.newPassword( urlToken, password )
const resetPassword = await userService.newPassword(urlToken, password)
if (resetPassword) {
return res.status(200).json({ message: 'Password has been reset' })