hunk.code_window:   if (logo) {
       return logo;
     }
     return getCheckLogo();
   };
   export const ExecutionDetail = ({
     executionDetail,
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:   return getLogoByStatus(type);
  
hunk.file_path: apps/web/src/components/activity/ExecutionDetail.tsx
hunk.type: replace
file: import { Injectable } from '@nestjs/common';
  import { UpdateSubscriberPreference, UpdateSubscriberPreferenceCommand } from '../update-subscriber-preference';
  import { UpdatePreferenceCommand } from './update-preference.command';
  
  @Injectable()
  export class UpdatePreference {
    constructor(private updateSubscriberPreferenceUsecase: UpdateSubscriberPreference) {}
  
    async execute(command: UpdatePreferenceCommand) {
      const updateCommand = UpdateSubscriberPreferenceCommand.create({
        organizationId: command.organizationId,
        subscriberId: command.subscriberId,
        environmentId: command.environmentId,
        templateId: command.templateId,
        channel: command.channel,
        enabled: command.enabled,
      });
  
      return await this.updateSubscriberPreferenceUsecase.execute(updateCommand);
    }
  }
  