Fix scope mishandling

This commit is contained in:
2025-10-28 16:32:15 +09:00
parent 529bceb598
commit 1a097a8f7b
5 changed files with 14 additions and 14 deletions

View File

@ -6,12 +6,12 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
protected readonly OperationExecutionState state = state;
public IManager CreateManager(IServiceScope scope, Campaign campaign)
public IManager CreateManager(Campaign campaign)
{
switch (campaign.Type)
{
case Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1:
return new ExportCommonRegistryElementsManager_15_7_0_1(scope, state, campaign);
return new ExportCommonRegistryElementsManager_15_7_0_1(state, campaign);
}
throw new NotImplementedException();