Fix method name
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user