mirror of https://github.com/status-im/codimd.git
refactor: fix lint on lib/web/auth/twitter/index.js
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
bc71b7b31b
commit
0c9195b731
|
@ -7,7 +7,7 @@ const TwitterStrategy = require('passport-twitter').Strategy
|
||||||
const config = require('../../../config')
|
const config = require('../../../config')
|
||||||
const { setReturnToFromReferer, passportGeneralCallback } = require('../utils')
|
const { setReturnToFromReferer, passportGeneralCallback } = require('../utils')
|
||||||
|
|
||||||
let twitterAuth = module.exports = Router()
|
const twitterAuth = module.exports = Router()
|
||||||
|
|
||||||
passport.use(new TwitterStrategy({
|
passport.use(new TwitterStrategy({
|
||||||
consumerKey: config.twitter.consumerKey,
|
consumerKey: config.twitter.consumerKey,
|
||||||
|
|
Loading…
Reference in New Issue