hunk.code_window: @Injectable()
   export class GetActiveIntegrations {
     constructor(private integrationRepository: IntegrationRepository) {}
     async execute(command: GetActiveIntegrationsCommand): Promise<IntegrationEntity[]> {
  
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:   constructor(private getDecryptedIntegrationsUsecase: GetDecryptedIntegrations) {}
  
hunk.file_path: apps/api/src/app/integrations/usecases/get-active-integration/get-active-integration.usecase.ts
hunk.type: replace
file: import { Injectable } from '@nestjs/common';
  import { IntegrationEntity, IntegrationRepository } from '@novu/dal';
  import { GetIntegrationsCommand } from './get-integrations.command';
  
  @Injectable()
  export class GetIntegrations {
    constructor(private integrationRepository: IntegrationRepository) {}
  
    async execute(command: GetIntegrationsCommand): Promise<IntegrationEntity[]> {
      return await this.integrationRepository.findByEnvironmentId(command.environmentId);
    }
  }
  