Skip to content

Commit

Permalink
Updated admin module to use new fetchJson.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 2, 2019
1 parent 8354c3f commit 226c100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 226c100

Please sign in to comment.