From d8c3a5193d241b71c6f04a1c53f7631a088a3ca9 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 10 Aug 2019 20:27:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(#I10GY5):=20=E4=BF=AE=E5=A4=8D=20Gitee/Issu?= =?UTF-8?q?e=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment comment #I10GY5 #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I10GY5 --- Bootstrap.Admin/Controllers/Api/GiteeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Controllers/Api/GiteeController.cs b/Bootstrap.Admin/Controllers/Api/GiteeController.cs index 2c7c50b8..cabfff04 100644 --- a/Bootstrap.Admin/Controllers/Api/GiteeController.cs +++ b/Bootstrap.Admin/Controllers/Api/GiteeController.cs @@ -34,7 +34,7 @@ namespace Bootstrap.Admin.Controllers.Api var ret = await GetJsonAsync(() => client.GetStringAsync($"https://gitee.com/{userName}/{repoName}/issues"), content => { var regex = Regex.Matches(content, "
([\\d]+)
", RegexOptions.IgnoreCase); - var labels = new string[] { "open", "closed", "rejected" }; + var labels = new string[] { "open", "progressing", "closed", "rejected" }; var result = string.IsNullOrEmpty(content) ? new string[] { "unknown" } : regex.Select((m, i) => $"{labels[i]} {m.Groups[1].Value}"); return string.Join(" ", result); });