worked on the controllers

This commit is contained in:
2020-02-08 05:06:18 -06:00
parent cad2d1971b
commit 7f832c0d92
3 changed files with 38 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class Page extends Model {
return {
Name: String,
OrgUserId: ObjectId,
IsPublic: Boolean,
IsPublic: { type: Boolean, default: true },
IsVisibleInMenu: { type: Boolean, default: true },
ParentId: ObjectId,
NodeIds: [ObjectId],