diff --git a/anda/misc/pokeget-rs/update.rhai b/anda/misc/pokeget-rs/update.rhai index 30c9297bf3..bffa1c3c99 100644 --- a/anda/misc/pokeget-rs/update.rhai +++ b/anda/misc/pokeget-rs/update.rhai @@ -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); }