fix linter error

This commit is contained in:
Phillip Thelen 2017-04-06 22:03:33 +02:00
parent 8d168a0318
commit 38edc5b416

View file

@ -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);
}