diff options
Diffstat (limited to 'api/graphql/models/lazy_bug.go')
-rw-r--r-- | api/graphql/models/lazy_bug.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/graphql/models/lazy_bug.go b/api/graphql/models/lazy_bug.go index a843c97a0..7570b4eaa 100644 --- a/api/graphql/models/lazy_bug.go +++ b/api/graphql/models/lazy_bug.go @@ -20,7 +20,7 @@ type BugWrapper interface { Status() common.Status Title() string Comments() ([]bug.Comment, error) - Labels() []bug.Label + Labels() []common.Label Author() (IdentityWrapper, error) Actors() ([]IdentityWrapper, error) Participants() ([]IdentityWrapper, error) @@ -102,7 +102,7 @@ func (lb *lazyBug) Comments() ([]bug.Comment, error) { return lb.snap.Comments, nil } -func (lb *lazyBug) Labels() []bug.Label { +func (lb *lazyBug) Labels() []common.Label { return lb.excerpt.Labels } @@ -180,7 +180,7 @@ func (l *loadedBug) Comments() ([]bug.Comment, error) { return l.Snapshot.Comments, nil } -func (l *loadedBug) Labels() []bug.Label { +func (l *loadedBug) Labels() []common.Label { return l.Snapshot.Labels } |