refactor(join) callback -> next

This commit is contained in:
coderaiser 2014-08-12 10:16:15 -04:00
parent aaab8a773b
commit 367e84b4b1

View file

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