From a9367d27f9637c29c61196175475f4ccf29ce80f Mon Sep 17 00:00:00 2001 From: Joe Frambach Date: Sun, 13 Jul 2014 04:36:32 +0000 Subject: [PATCH] probably a typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e455cb4..d664efe 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ app.get('/oauth/token', function (req, res) { // This generates a token and stores it in the session var token = oauth.generateStateToken(req); // This sends the token to the front-end - req.json({ + res.json({ token: token }); });