@universis/janitor 2.4.1 → 2.4.2
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
|
@@ -71,11 +71,11 @@ class NetworkRestrictAccess extends ApplicationService {
|
|
|
71
71
|
index = model.eventListeners.length - 1;
|
|
72
72
|
}
|
|
73
73
|
let otherIndex = model.eventListeners.findIndex((listener) => {
|
|
74
|
-
return listener.type ===
|
|
74
|
+
return listener.type === '@universis/janitor/listeners/OnAccountUpdate';
|
|
75
75
|
});
|
|
76
76
|
if (otherIndex < 0) {
|
|
77
77
|
model.eventListeners.splice(index, 0, {
|
|
78
|
-
type:
|
|
78
|
+
type: '@universis/janitor/listeners/OnAccountUpdate'
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
schemaLoader.setModelDefinition(model);
|