mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
fix linter error
This commit is contained in:
parent
8d168a0318
commit
38edc5b416
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ api.registerLocal = {
|
|||
if (existingUser) {
|
||||
res.respond(200, savedUser.toJSON().auth.local); // We convert to toJSON to hide private fields
|
||||
} else {
|
||||
let userJSON = savedUser.toJSON()
|
||||
let userJSON = savedUser.toJSON();
|
||||
userJSON.newUser = true;
|
||||
res.respond(201, userJSON);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue