mirror of
https://github.com/plankanban/planka.git
synced 2025-12-22 17:25:01 +03:00
ref: Refactoring
This commit is contained in:
@@ -100,7 +100,7 @@ module.exports = {
|
||||
throw Errors.LIST_NOT_FOUND; // Forbidden
|
||||
}
|
||||
|
||||
if (!sails.helpers.lists.isFinite(list)) {
|
||||
if (!sails.helpers.lists.isKanban(list)) {
|
||||
throw Errors.NOT_ENOUGH_RIGHTS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user