Skip to content

Commit

Permalink
fix: author login
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Apr 30, 2023
1 parent 102741b commit f5f161e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/stat/commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (w *Commit) Update(ctx context.Context) error {
if err := tx.GitCommit.Create().
SetID(commit.GetSHA()).
SetDate(commit.GetCommit().GetAuthor().GetDate().Time).
SetAuthorLogin(commit.GetCommit().GetAuthor().GetLogin()).
SetAuthorLogin(commit.GetAuthor().GetLogin()).
SetAuthorID(commit.GetAuthor().GetID()).
SetMessage(commit.GetCommit().GetMessage()).
OnConflictColumns(gitcommit.FieldID).Ignore().Exec(ctx); err != nil {
Expand Down

0 comments on commit f5f161e

Please sign in to comment.