fix typo
This commit is contained in:
parent
b993fb9466
commit
b1b36ed44e
|
@ -1211,7 +1211,7 @@ DataAccessObject._coerce = function (where) {
|
|||
case 'regexp':
|
||||
val = utils.toRegExp(val);
|
||||
if (val instanceof Error) {
|
||||
result.statusCode = 400;
|
||||
val.statusCode = 400;
|
||||
throw err;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -111,7 +111,7 @@ ModelDefinition.prototype.columnNames = function (connectorType) {
|
|||
var cols = [];
|
||||
for (var p in props) {
|
||||
if (props[p][connectorType]) {
|
||||
cols.push(property[connectorType].column || props[p][connectorType].columnName || p);
|
||||
cols.push(props[connectorType].column || props[p][connectorType].columnName || p);
|
||||
} else {
|
||||
cols.push(p);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue