Skip to content

Commit

Permalink
fix: delete duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Tian committed Nov 12, 2019
1 parent 68e5219 commit 98713ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default class CitiOAuth {

try {
this.saveToken(
res.emails && res.emails ? res.emails[0].emailAddress : '',
res.emails ? res.emails[0].emailAddress : '',
accessToken
)
} catch (ex) {
Expand Down

0 comments on commit 98713ec

Please sign in to comment.