@universis/janitor 2.4.1 → 2.4.4

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/dist/index.js CHANGED
@@ -1831,11 +1831,11 @@ class NetworkRestrictAccess extends common.ApplicationService {
1831
1831
  index = model.eventListeners.length - 1;
1832
1832
  }
1833
1833
  let otherIndex = model.eventListeners.findIndex((listener) => {
1834
- return listener.type === path.resolve(__dirname, './OnAccountUpdate');
1834
+ return listener.type === '@universis/janitor/listeners/OnAccountUpdate';
1835
1835
  });
1836
1836
  if (otherIndex < 0) {
1837
1837
  model.eventListeners.splice(index, 0, {
1838
- type: path.resolve(__dirname, './OnAccountUpdate')
1838
+ type: '@universis/janitor/listeners/OnAccountUpdate'
1839
1839
  });
1840
1840
  }
1841
1841
  schemaLoader.setModelDefinition(model);