Updated admin module to use new fetchJson.
This commit is contained in:
parent
8354c3f9fe
commit
226c100c72
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user