Added maximum length of ancestors array

This commit is contained in:
Thaum Rystra
2020-05-25 17:25:49 +02:00
parent add0cac31d
commit b61dd6e81a

View File

@@ -22,6 +22,7 @@ let ChildSchema = new SimpleSchema({
ancestors: {
type: Array,
defaultValue: [],
max: 100,
},
'ancestors.$': {
type: RefSchema,