Răsfoiți Sursa

fix(core): Fix channel association on promotion update (#2376)

Pieter Doms 2 ani în urmă
părinte
comite
e1ff2c7933
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      packages/core/src/service/services/promotion.service.ts

+ 0 - 1
packages/core/src/service/services/promotion.service.ts

@@ -184,7 +184,6 @@ export class PromotionService {
                         this.configArgService.parseInput('PromotionAction', a),
                         this.configArgService.parseInput('PromotionAction', a),
                     );
                     );
                 }
                 }
-                await this.channelService.assignToCurrentChannel(p, ctx);
             },
             },
         });
         });
         await this.customFieldRelationService.updateRelations(ctx, Promotion, input, updatedPromotion);
         await this.customFieldRelationService.updateRelations(ctx, Promotion, input, updatedPromotion);