diff options
Diffstat (limited to 'server/lib/schemas/Blueprint.js')
| -rw-r--r-- | server/lib/schemas/Blueprint.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/schemas/Blueprint.js b/server/lib/schemas/Blueprint.js index 666f0cf..76d0a09 100644 --- a/server/lib/schemas/Blueprint.js +++ b/server/lib/schemas/Blueprint.js @@ -35,10 +35,10 @@ var BlueprintSchema = new mongoose.Schema({ }, slug: { type: String, - required: true, +// required: true, validate: [function (val){ val = util.sanitize(val || this.displayName || "") - if (! val.length) return false +// if (! val.length) return false return true },"{PATH} name is required"] }, |
