Skip to content

Commit 44241af

Browse files
committed
use uniform format for list size
1 parent 721b22c commit 44241af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/issues.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ func IssueLabel(getClient GetClientFn, t translations.TranslationHelperFunc) (mc
22042204

22052205
response := map[string]any{
22062206
"labels": issueLabels,
2207-
"count": len(issueLabels),
2207+
"totalCount": len(issueLabels),
22082208
}
22092209

22102210
out, err := json.Marshal(response)
@@ -2248,7 +2248,7 @@ func IssueLabel(getClient GetClientFn, t translations.TranslationHelperFunc) (mc
22482248

22492249
response := map[string]any{
22502250
"labels": issueLabels,
2251-
"count": len(issueLabels),
2251+
"totalCount": len(issueLabels),
22522252
"added": labels,
22532253
}
22542254

@@ -2302,7 +2302,7 @@ func IssueLabel(getClient GetClientFn, t translations.TranslationHelperFunc) (mc
23022302

23032303
response := map[string]any{
23042304
"labels": issueLabels,
2305-
"count": len(issueLabels),
2305+
"totalCount": len(issueLabels),
23062306
"removed": labels,
23072307
}
23082308

0 commit comments

Comments
 (0)