fix: Switch converted to Object Literal (#940)

* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
This commit is contained in:
rbtprograms
2019-08-04 13:31:13 -07:00
committed by Nicolas Giard
parent 2142b5f674
commit 0f9ddf1e5d
28 changed files with 701 additions and 59 deletions

View File

@@ -20,7 +20,7 @@ module.exports = {
githubConfig.authorizationURL = `https://${conf.enterpriseDomain}/login/oauth/authorize`
githubConfig.tokenURL = `https://${conf.enterpriseDomain}/login/oauth/access_token`
githubConfig.userProfileURL = conf.enterpriseUserEndpoint
githubConfig.userEmailURL = `${conf.enterpriseUserEndpoint}/emails`
githubConfig.userEmailURL = `${conf.enterpriseUserEndpoint}/emails`
}
passport.use('github',