Fix the ref to getSchemaType
This commit is contained in:
parent
194f68468a
commit
aa5bba3bac
|
@ -235,7 +235,7 @@ ModelBuilder.prototype.define = function defineClass(className, properties, sett
|
|||
return s;
|
||||
};
|
||||
} else if(typeof DataType === 'string') {
|
||||
DataType = getSchemaType(DataType);
|
||||
DataType = schema.getSchemaType(DataType);
|
||||
}
|
||||
|
||||
Object.defineProperty(ModelClass.prototype, attr, {
|
||||
|
|
Loading…
Reference in New Issue