Skip to content

Commit

Permalink
feat: logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Tian committed Nov 12, 2019
1 parent f778333 commit d199d4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default (app: Application) => {
appId: config.key,
appSecret: config.secret,
redirectUri: config.callbackURL,
state: state
state: state,
logger: config.logger || app.logger
},
(
req: any,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"debug": "^2.6.1",
"egg-passport": "^2.0.1",
"passport-citi": "1.2.0",
"passport-citi": "1.3.0",
"uuid": "^3.3.2"
},
"devDependencies": {
Expand Down

0 comments on commit d199d4f

Please sign in to comment.