mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 02:01:43 +03:00
cache: fix missing login in LegacyAuthorExcerpt causing panic
This commit is contained in:
parent
17ca28c2df
commit
e0a702f41d
1
cache/bug_excerpt.go
vendored
1
cache/bug_excerpt.go
vendored
@ -95,6 +95,7 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt {
|
||||
e.AuthorId = snap.Author.Id()
|
||||
case *identity.Bare:
|
||||
e.LegacyAuthor = LegacyAuthorExcerpt{
|
||||
Login: snap.Author.Login(),
|
||||
Name: snap.Author.Name(),
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user