summaryrefslogtreecommitdiffstatshomepage
path: root/graphql
diff options
context:
space:
mode:
authorludovicm67 <ludovicmuller1@gmail.com>2019-08-28 21:13:45 +0200
committerludovicm67 <ludovicmuller1@gmail.com>2019-10-15 20:42:27 +0200
commit75004e1298b530fa2a3231b9c9f25441a32b35d4 (patch)
tree6d8d13f582b85d6d524be857cce4d5a3224b61e0 /graphql
parentd0d9ea56b9fcb8f2638269b1a6856ef14db7d694 (diff)
downloadgit-bug-75004e1298b530fa2a3231b9c9f25441a32b35d4.tar.gz
git-bug-75004e1298b530fa2a3231b9c9f25441a32b35d4.zip
bug: rename RGBA to Color
Diffstat (limited to 'graphql')
-rw-r--r--graphql/resolvers/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/resolvers/label.go b/graphql/resolvers/label.go
index 690bf7f64..0368a1e60 100644
--- a/graphql/resolvers/label.go
+++ b/graphql/resolvers/label.go
@@ -19,7 +19,7 @@ func (labelResolver) Name(ctx context.Context, obj *bug.Label) (string, error) {
}
func (labelResolver) Color(ctx context.Context, obj *bug.Label) (*color.RGBA, error) {
- rgba := obj.RGBA()
+ rgba := obj.Color().RGBA()
return &rgba, nil
}