Skip to content

Commit

Permalink
put author instead of committer
Browse files Browse the repository at this point in the history
  • Loading branch information
zdnk committed Mar 20, 2018
1 parent c9f7620 commit c8d434d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/platforms/bitbucket_server/BitBucketServerGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ function bitBucketServerCommitToGitCommit(
email: bbsCommit.committer.emailAddress,
name: bbsCommit.committer.name,
date: new Date(bbsCommit.committerTimestamp).toISOString(),
} : null,
} : {
email: bbsCommit.author.emailAddress,
name: bbsCommit.author.name,
date: new Date(bbsCommit.authorTimestamp).toISOString(),
},
message: bbsCommit.message,
tree: null,
url,
Expand Down

0 comments on commit c8d434d

Please sign in to comment.