Skip to content

Commit 1db1b18

Browse files
authoredNov 6, 2017
Merge pull request #393 from jeffijoe/patch-1
fix(readme): return next()
2 parents 1581e09 + db9c3e4 commit 1db1b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ router.get(
144144
function (ctx, next) {
145145
return User.findOne(ctx.params.id).then(function(user) {
146146
ctx.user = user;
147-
next();
147+
return next();
148148
});
149149
},
150150
function (ctx) {

0 commit comments

Comments
 (0)
Please sign in to comment.