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

Commit

Permalink
use a different field to get the author name
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanlindauer committed Jul 31, 2018
1 parent 0016ec5 commit e2d3e27
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 e2d3e27

Please sign in to comment.