From 0c9195b731be3659031fb8744ac08b42521988d6 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Fri, 2 Aug 2019 01:00:06 +0800 Subject: [PATCH] refactor: fix lint on lib/web/auth/twitter/index.js Signed-off-by: BoHong Li --- lib/web/auth/twitter/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/auth/twitter/index.js b/lib/web/auth/twitter/index.js index 5aba20ff..144baccd 100644 --- a/lib/web/auth/twitter/index.js +++ b/lib/web/auth/twitter/index.js @@ -7,7 +7,7 @@ const TwitterStrategy = require('passport-twitter').Strategy const config = require('../../../config') const { setReturnToFromReferer, passportGeneralCallback } = require('../utils') -let twitterAuth = module.exports = Router() +const twitterAuth = module.exports = Router() passport.use(new TwitterStrategy({ consumerKey: config.twitter.consumerKey,