Updated admin module to use new fetchJson.

This commit is contained in:
Richard Moore 2019-08-02 02:11:22 -04:00
parent 8354c3f9fe
commit 226c100c72
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -24,7 +24,7 @@ async function getPackage(name) {
cache[name] = result;
return result;
}, (error) => {
if (error.statusCode === 404) {
if (error.status === 404) {
return null;
}
throw error;