Skip to content

Commit

Permalink
#46 Fix dont loading pr for some repo (#49)
Browse files Browse the repository at this point in the history
* Lower case for bitbucket repo name.

* Set work in changelog
  • Loading branch information
kicumkicum committed Jun 10, 2016
1 parent de7796a commit a215f1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Add button for create branch by ticket on redmine page

## Fix
* [#46](https://github.com/kicumkicum/bond/issues/46)
Fix load pull-requests for project with capital letter in the name
* [#29](https://github.com/kicumkicum/bond/issues/29)
Fix triple loading data on redmine page

Expand Down
2 changes: 1 addition & 1 deletion src/service/syncer.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ service.Syncer.prototype.getBitbucketInfo = function(currentRedmineProjectId) {
for (var redmineId in settings[owner]) if (settings[owner].hasOwnProperty(redmineId)) {

if (redmineId === currentRedmineProjectId) {
bitbucketInfo.repo = settings[owner][redmineId];
bitbucketInfo.repo = settings[owner][redmineId].toLocaleLowerCase();
break;
}
}
Expand Down

0 comments on commit a215f1b

Please sign in to comment.