From 367e84b4b1422fb3b5dbfa69140f10d31da50805 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 12 Aug 2014 10:16:15 -0400 Subject: [PATCH] refactor(join) callback -> next --- lib/server/join.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/server/join.js b/lib/server/join.js index 32ccfe2a..688c4897 100644 --- a/lib/server/join.js +++ b/lib/server/join.js @@ -11,7 +11,7 @@ module.exports = join; - function join(before, req, res, callback) { + function join(before, req, res, next) { var names, exec = Util.exec, readFunc = exec.with(readPipe, req, res), @@ -20,7 +20,7 @@ isJoin = path.match(regExp); if (!isJoin) { - callback(); + next(); } else { names = CloudFunc.getJoinArray(path);