hunk.code_window:   MESSAGE_CONTENT_NOT_GENERATED = 'Message content could not be generated',
     MESSAGE_CREATED = 'Message created',
     SUBSCRIBER_NO_ACTIVE_INTEGRATION = 'Subscriber does not have an active integration',
     SUBSCRIBER_NO_CHANNEL_DETAILS = 'Subscriber does not have any email/phone number',
     SUBSCRIBER_NO_ACTIVE_CHANNEL = 'Subscriber does not have a configured channel',
     MESSAGE_SENT = 'Message sent',
     PROVIDER_ERROR = 'Unexpected provider error',
     START_SENDING = 'Start sending message',
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:   SUBSCRIBER_NO_CHANNEL_DETAILS = 'Subscriber does not have any recipient details',
  
hunk.file_path: apps/api/src/app/execution-details/usecases/create-execution-details/create-execution-details.command.ts
hunk.type: replace
file: import { Injectable, Scope, UnauthorizedException } from '@nestjs/common';
  import { GetMyOrganizationCommand } from './get-my-organization.command';
  import { GetOrganization } from '../get-organization/get-organization.usecase';
  import { GetOrganizationCommand } from '../get-organization/get-organization.command';
  
  @Injectable({
    scope: Scope.REQUEST,
  })
  export class GetMyOrganization {
    constructor(private getOrganizationUseCase: GetOrganization) {}
  
    async execute(command: GetMyOrganizationCommand) {
      const organization = await this.getOrganizationUseCase.execute(
        GetOrganizationCommand.create({
          id: command.id,
          userId: command.userId,
        })
      );
      if (!organization) throw new UnauthorizedException('No organization found');
  
      return organization;
    }
  }
  