Fix dup issue with export
This commit is contained in:
Родитель
83055378b8
Коммит
b4fbf07903
|
@ -141,7 +141,7 @@ internal class NewCommerceMigrationProvider : INewCommerceMigrationProvider
|
|||
var inputBaseMigrationRequests = inputMigrations.Where(m => !m.AddOn);
|
||||
var inputAddOnMigrationRequests = inputMigrations.Where(m => m.AddOn);
|
||||
|
||||
var baseSubscriptionIds = inputBaseMigrationRequests.Select(b => b.LegacySubscriptionId).ToList();
|
||||
var baseSubscriptionIds = inputMigrations.Select(b => b.LegacySubscriptionId).ToList();
|
||||
|
||||
var addOnsWithoutBase = inputAddOnMigrationRequests.Where(a => !baseSubscriptionIds.Contains(a.BaseSubscriptionId));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче