Skip to content

Commit

Permalink
Merge branch 'master' into restrict-default-token-del
Browse files Browse the repository at this point in the history
  • Loading branch information
pallavi2209 committed Jan 31, 2017
2 parents 7c9767c + e78e147 commit b5545f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/apiLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function logAPI(req, resultObj, retval) {

// if API token enabled,
// extract user, token to update log object
jwtUtil.getTokenDetailsFromToken(req)
jwtUtil.getTokenDetailsFromRequest(req)
.then((resObj) => {
logObject.user = resObj.username;
logObject.token = resObj.tokenname;
Expand Down

0 comments on commit b5545f6

Please sign in to comment.