mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 20:29:08 +00:00
⚡ Tweaks to diagnostic events (#2544)
* Tweaks to events * more tweaks and fixes
This commit is contained in:
@@ -13,9 +13,12 @@ export class InternalHooksManager {
|
||||
throw new Error('InternalHooks not initialized');
|
||||
}
|
||||
|
||||
static init(instanceId: string): InternalHooksClass {
|
||||
static init(instanceId: string, versionCli: string): InternalHooksClass {
|
||||
if (!this.internalHooksInstance) {
|
||||
this.internalHooksInstance = new InternalHooksClass(new Telemetry(instanceId));
|
||||
this.internalHooksInstance = new InternalHooksClass(
|
||||
new Telemetry(instanceId, versionCli),
|
||||
versionCli,
|
||||
);
|
||||
}
|
||||
|
||||
return this.internalHooksInstance;
|
||||
|
||||
Reference in New Issue
Block a user