Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit e74d803

Browse files
Merge pull request #105 from rebuy-de/fix_empty_name_issue
Use a different field to get the author name
2 parents 0016ec5 + e2d3e27 commit e74d803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gh/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ func (gh *API) GetBranch(location *Location) (*Branch, error) {
8686
Location: *location,
8787
Rate: resp.Rate,
8888
Name: *ghBranch.Name,
89-
Author: *ghBranch.Commit.Author.Login,
9089
SHA: *ghBranch.Commit.SHA,
9190
Message: *ghBranch.Commit.Commit.Message,
91+
Author: *ghBranch.Commit.Commit.Author.Name,
9292
Date: *ghBranch.Commit.Commit.Author.Date,
9393
}
9494

0 commit comments

Comments
 (0)