diff --git a/common/models/user.js b/common/models/user.js index a55209ac..a3baecb2 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -749,9 +749,9 @@ module.exports = function(User) { displayPort + urlPath + '?' + qs.stringify({ - uid: '' + verifyOptions.user[pkName], - redirect: verifyOptions.redirect, - }); + uid: '' + verifyOptions.user[pkName], + redirect: verifyOptions.redirect, + }); verifyOptions.to = verifyOptions.to || user.email; verifyOptions.subject = verifyOptions.subject || g.f('Thanks for Registering'); diff --git a/example/mobile-models/app.js b/example/mobile-models/app.js index 1ffd97a9..d82baf4f 100644 --- a/example/mobile-models/app.js +++ b/example/mobile-models/app.js @@ -43,10 +43,10 @@ Application.create(data, function(err, data) { }); Application.register('rfeng', 'MyApp', {description: g.f('My first mobile application')}, -function(err, result) { - console.log(result.toObject()); - - result.resetKeys(function(err, result) { + function(err, result) { console.log(result.toObject()); + + result.resetKeys(function(err, result) { + console.log(result.toObject()); + }); }); -}); diff --git a/package.json b/package.json index ac068135..ea348dbf 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "cookie-parser": "^1.3.4", "coveralls": "^2.11.15", "dirty-chai": "^1.2.2", - "eslint": "^4.13.1", + "eslint": "^4.18.2", "eslint-config-loopback": "^10.0.0", "eslint-plugin-mocha": "^4.11.0", "express-session": "^1.14.0",