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