@onehat/data 1.7.11 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -267,8 +267,8 @@ export default class Repository extends EventEmitter {
|
|
|
267
267
|
|
|
268
268
|
this._createMethods();
|
|
269
269
|
|
|
270
|
-
if (this.schema.repository.
|
|
271
|
-
this.schema.repository.
|
|
270
|
+
if (this.schema.repository.init) {
|
|
271
|
+
await this.schema.repository.init.call(this);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
this.isInitialized = true;
|