mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Remove commented out, unneeded code
This commit is contained in:
parent
773779e5f1
commit
abbfc6d757
@ -69,7 +69,6 @@ const validateUpdatePost = async (resolve, root, args, context, info) => {
|
||||
if (categoryIds && categoryIds.length > 3) {
|
||||
throw new UserInputError(NO_CATEGORIES_ERR_MESSAGE)
|
||||
}
|
||||
// return resolve(root, args, context, info)
|
||||
} else {
|
||||
if (!Array.isArray(categoryIds) || !categoryIds.length || categoryIds.length > 3) {
|
||||
throw new UserInputError(NO_CATEGORIES_ERR_MESSAGE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user