diff --git a/routes/routes.go b/routes/routes.go index 074782e..6300975 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -287,9 +287,9 @@ func (d *deps) Diff(w http.ResponseWriter, r *http.Request) { return } - name, ok := mailmap[diff.Commit.Author.Email] + authorname, ok := mailmap[diff.Commit.Author.Email] if ok { - diff.Commit.Author.Name = name + diff.Commit.Author.Name = authorname } data := make(map[string]interface{})