fix(pokeget-rs): Change update script to JSON array (#3826)

Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Gilver
2025-03-09 01:09:46 -06:00
committed by GitHub
parent 77cef24989
commit 38bcaa726a
+2 -2
View File
@@ -2,7 +2,7 @@ rpm.version(crates("pokeget"));
// pokesprites has not received an update in years but let's keep the dep commit current just in case
if rpm.changed () {
let url = `https://api.github.com/repos/talwat/pokeget-rs/contents/data`;
let json = get(url).json();
let c = json.2.sha;
let json = get(url).json_arr();
let c = json[2].sha;
rpm.global("pcommit", c);
}