remove id fields from required array

This commit is contained in:
Ying Tang 2015-04-02 16:29:09 -07:00
parent 772a48773d
commit b9df4b6706
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ var modelHelper = module.exports = {
}
// Required props sit in a per-model array.
if (prop.required || (prop.id && !prop.generated)) {
if (prop.required) {
required.push(key);
}