Skip to content

Commit

Permalink
Update checker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DJj123dj committed Apr 2, 2022
1 parent 6df23d8 commit 5fc3ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = async () => {
if (config.system.enable_category == true && config.system.ticket_category.includes(" ")){
createError("invalid category id | 'system/ticket_category' is not a valid category id!")
}
if (config.system.enable_category && config.system.ticket_category > 20 || config.system.ticket_category < 16){
if (config.system.enable_category && config.system.ticket_category.length > 20 || config.system.ticket_category.length < 16){
createError("invalid category id | 'system/ticket_category' is not a valid category id!")
}

Expand Down

0 comments on commit 5fc3ba3

Please sign in to comment.