Merge pull request #278 from clarkorz/fix/remove-consolelog
Remove unnecessary console.log
This commit is contained in:
commit
d7598b18f4
|
@ -489,7 +489,6 @@ function lookupModelTo(modelFrom, modelTo, params, singularize) {
|
|||
}
|
||||
if (typeof modelTo === 'string') {
|
||||
modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase();
|
||||
console.log(modelToName)
|
||||
modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo;
|
||||
}
|
||||
if (typeof modelTo !== 'function') {
|
||||
|
|
Loading…
Reference in New Issue