diff --git a/atlassian/bitbucket/cloud/repositories/commits.py b/atlassian/bitbucket/cloud/repositories/commits.py index f8a05e732..839e14ee7 100644 --- a/atlassian/bitbucket/cloud/repositories/commits.py +++ b/atlassian/bitbucket/cloud/repositories/commits.py @@ -35,7 +35,7 @@ def each(self, top=None, q=None, sort=None): if q is not None: params["q"] = q for commit in self._get_paged(top, trailing=True, params=params): - yield self.__get_object(super(Commits, self).get(commit.get("hash"))) + yield self.get(commit.get("hash")) def get(self, commit_hash): """ @@ -70,7 +70,7 @@ def hash(self): @property def message(self): """Commit message.""" - return self.get_data("title") + return self.get_data("message") @property def date(self):