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

Commit

Permalink
Merge pull request #105 from rebuy-de/fix_empty_name_issue
Browse files Browse the repository at this point in the history
Use a different field to get the author name
  • Loading branch information
stephanlindauer authored Aug 1, 2018
2 parents 0016ec5 + e2d3e27 commit e74d803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gh/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ func (gh *API) GetBranch(location *Location) (*Branch, error) {
Location: *location,
Rate: resp.Rate,
Name: *ghBranch.Name,
Author: *ghBranch.Commit.Author.Login,
SHA: *ghBranch.Commit.SHA,
Message: *ghBranch.Commit.Commit.Message,
Author: *ghBranch.Commit.Commit.Author.Name,
Date: *ghBranch.Commit.Commit.Author.Date,
}

Expand Down

0 comments on commit e74d803

Please sign in to comment.