aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/resolvers/repo.go')
-rw-r--r--graphql/resolvers/repo.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphql/resolvers/repo.go b/graphql/resolvers/repo.go
index cf10e4ae..87edad9a 100644
--- a/graphql/resolvers/repo.go
+++ b/graphql/resolvers/repo.go
@@ -157,3 +157,7 @@ func (repoResolver) UserIdentity(ctx context.Context, obj *models.Repository) (i
return i.Identity, nil
}
+
+func (repoResolver) ValidLabels(ctx context.Context, obj *models.Repository) ([]bug.Label, error) {
+ return obj.Repo.ValidLabels(), nil
+}