decrease comment depth to 8

This commit is contained in:
keyan 2023-09-28 17:06:07 -05:00
parent 08e4093877
commit 7b4a3c056b
2 changed files with 1 additions and 7 deletions

View File

@ -71,12 +71,6 @@ export const COMMENTS = gql`
...CommentFields ...CommentFields
comments { comments {
...CommentFields ...CommentFields
comments {
...CommentFields
comments {
...CommentFields
}
}
} }
} }
} }

View File

@ -15,7 +15,7 @@ export const UPLOAD_TYPES_ALLOW = [
'image/jpeg', 'image/jpeg',
'image/webp' 'image/webp'
] ]
export const COMMENT_DEPTH_LIMIT = 10 export const COMMENT_DEPTH_LIMIT = 8
export const MAX_TITLE_LENGTH = 80 export const MAX_TITLE_LENGTH = 80
export const MAX_POLL_CHOICE_LENGTH = 40 export const MAX_POLL_CHOICE_LENGTH = 40
export const ITEM_SPAM_INTERVAL = '10m' export const ITEM_SPAM_INTERVAL = '10m'