From cbd2689c80979cbc311f58704b0248ae9710b752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Tue, 2 Jul 2024 10:32:49 +0200 Subject: [PATCH] fix --- share/organisation/check.rhai | 1 + 1 file changed, 1 insertion(+) diff --git a/share/organisation/check.rhai b/share/organisation/check.rhai index 382e17e..0b0a098 100644 --- a/share/organisation/check.rhai +++ b/share/organisation/check.rhai @@ -20,6 +20,7 @@ fn conditions() { let password = base64_decode(gitea.data.password); let headers = http_header_basic(username,password); let response = http_get_json(`http://gitea-http.${global::DOMAIN}-ci.svc:3000/api/v1/orgs/${org}/repos`, headers); + log_warn(type_of(response.code)); if (response.code>=200&&response.code<300) { repos += response.json.map(|p| p.name); repos.sort();