Update script.js (#4)

Let's use "Last century" stats instead of "Last decade" - because some CNCF projects passed 10 years last year.
This commit is contained in:
Łukasz Gryglicki
2025-06-27 09:16:50 +02:00
committed by GitHub
parent fb34587b1c
commit feb6342a68

View File

@@ -29,7 +29,7 @@ function find() {
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
redirect: "follow", 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(res => res.json())
.then(data => { .then(data => {