Skip to content
This repository has been archived by the owner on Aug 24, 2018. It is now read-only.

Commit

Permalink
Resolves minor syntax issue in passport js
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored and arekkas committed Dec 10, 2017
1 parent c582125 commit 85f5944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydra-consent-sdk/src/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const initialize = (
logger.debug('Fetched profile data from Auth0 OAuth2 provider', profile)
done(null, {
...profile,
auth_time: Math.floor(new Date().getTime() / 1000)
auth_time: Math.floor((new Date()).getTime() / 1000)
})
}
)
Expand Down

0 comments on commit 85f5944

Please sign in to comment.