Skip to content

Commit

Permalink
Fix committer for Stash REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
zdnk committed Mar 20, 2018
1 parent 26793f1 commit ddde5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/platforms/bitbucket_server/BitBucketServerGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ function bitBucketServerCommitToGitCommit(
name: bbsCommit.author.name,
date: new Date(bbsCommit.authorTimestamp).toISOString(),
},
committer: {
committer: bbsCommit.committe ? {
email: bbsCommit.committer.emailAddress,
name: bbsCommit.committer.name,
date: new Date(bbsCommit.committerTimestamp).toISOString(),
},
} : null,
message: bbsCommit.message,
tree: null,
url,
Expand Down

0 comments on commit ddde5e2

Please sign in to comment.