From feb6342a68c9a6d163a3a6b0feb6e760431f131d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Gryglicki?= Date: Fri, 27 Jun 2025 09:16:50 +0200 Subject: [PATCH] Update script.js (#4) Let's use "Last century" stats instead of "Last decade" - because some CNCF projects passed 10 years last year. --- src/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.js b/src/script.js index e85f3f8..22b08a0 100644 --- a/src/script.js +++ b/src/script.js @@ -29,7 +29,7 @@ function find() { "Content-Type": "application/json", }, redirect: "follow", - body: "{\"api\":\"DevActCnt\",\"payload\":{\"project\":\"all\",\"range\":\"Last decade\",\"metric\":\"Contributions\",\"repository_group\":\"All\",\"country\":\"All\",\"github_id\":\"" + user + "\",\"bg\":\"\"}}", + body: "{\"api\":\"DevActCnt\",\"payload\":{\"project\":\"all\",\"range\":\"Last century\",\"metric\":\"Contributions\",\"repository_group\":\"All\",\"country\":\"All\",\"github_id\":\"" + user + "\",\"bg\":\"\"}}", }) .then(res => res.json()) .then(data => {