Fix method name

This commit is contained in:
MICHAEL JACKSON
2017-11-11 22:35:30 -08:00
parent 1c28ac2ff3
commit 32ca39a11e
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
const BlacklistAPI = require('../BlacklistAPI')
function checkBlacklist(req, res, next) {
BlacklistAPI.containsPackage(req.packageName).then(
BlacklistAPI.includesPackage(req.packageName).then(
blacklisted => {
// Disallow packages that have been blacklisted.
if (blacklisted) {