Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit c15af77

Browse files
committed
fix: update FetchRepositoryLabelsQuery labels type
1 parent 4de4c61 commit c15af77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Classes/Labels/GitHubClient+RepositoryLabels.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import Apollo
1111

1212
private extension FetchRepositoryLabelsQuery.Data {
1313

14-
func labels() -> [String] {
15-
var labels: [String] = []
14+
func labels() -> [RepositoryLabel] {
15+
var labels: [RepositoryLabel] = []
1616
repository?.labels.map { nodes in
1717
nodes.nodes.map { node in
1818
labels += node.compactMap {

0 commit comments

Comments
 (0)