Skip to content

Commit

Permalink
Restore event bus dep temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Jun 19, 2024
1 parent ac9d0e8 commit 5e7f3ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src/InternalHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import type { Project } from '@db/entities/Project';
import type { ProjectRole } from '@db/entities/ProjectRelation';
import { ProjectRelationRepository } from './databases/repositories/projectRelation.repository';
import { SharedCredentialsRepository } from './databases/repositories/sharedCredentials.repository';
import { MessageEventBus } from './eventbus/MessageEventBus/MessageEventBus';

@Service()
export class InternalHooks {
Expand All @@ -45,6 +46,7 @@ export class InternalHooks {
private readonly license: License,
private readonly projectRelationRepository: ProjectRelationRepository,
private readonly sharedCredentialsRepository: SharedCredentialsRepository,
private readonly _eventBus: MessageEventBus, // needed until we decouple telemetry
) {
eventsService.on(
'telemetry.onFirstProductionWorkflowSuccess',
Expand Down

0 comments on commit 5e7f3ec

Please sign in to comment.