fix naming conflict for diff route
This commit is contained in:
parent
5fe7b8e470
commit
7c96ce304f
1 changed files with 2 additions and 2 deletions
|
@ -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{})
|
||||
|
|
Loading…
Reference in a new issue