IGNITE-843: Fixed warning.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ecd9ae1f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ecd9ae1f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ecd9ae1f Branch: refs/heads/ignite-1121 Commit: ecd9ae1fe99d68267edef4cb8abeb1f8f0c6e17d Parents: f2d07d5 Author: AKuznetsov <akuznet...@gridgain.com> Authored: Thu Jul 16 01:52:01 2015 +0700 Committer: AKuznetsov <akuznet...@gridgain.com> Committed: Thu Jul 16 01:52:01 2015 +0700 ---------------------------------------------------------------------- modules/web-control-center/nodejs/routes/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ecd9ae1f/modules/web-control-center/nodejs/routes/public.js ---------------------------------------------------------------------- diff --git a/modules/web-control-center/nodejs/routes/public.js b/modules/web-control-center/nodejs/routes/public.js index fd7c759..68bf964 100644 --- a/modules/web-control-center/nodejs/routes/public.js +++ b/modules/web-control-center/nodejs/routes/public.js @@ -42,7 +42,7 @@ router.get('/login', function (req, res) { /** * Register new account. */ -router.post('/register', function (req, res, next) { +router.post('/register', function (req, res) { db.Account.count(function (err, cnt) { if (err) return res.status(401).send(err.message);