From db62d833078728a92ba29d9ef482b692c0e8479a Mon Sep 17 00:00:00 2001 From: Dido Arellano Date: Wed, 26 Aug 2015 23:39:19 +0800 Subject: [PATCH] Add missing arg to example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f70a1c5..42b0618 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ npm i flash app.use(session()); // session middleware app.use(require('flash')()); -app.use(function (req, res) { +app.use(function (req, res, next) { // flash a message req.flash('info', 'hello!'); next();