diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2025-01-15 15:20:31 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2025-01-15 15:20:31 +0300 |
commit | 5439fcfb75920974055247801adae3ceddfcb9b3 (patch) | |
tree | bc4a8c99be68a5b48ddc376d508ec416466a6512 /RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs | |
parent | c1b7be71c990bc8b11bb052b43551841d0af5ba9 (diff) |
Diffstat (limited to 'RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs')
-rw-r--r-- | RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs b/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs index e88ba25..6dfc0da 100644 --- a/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs +++ b/RhSolutions.SkuParser.Api/Services/CommonCsvParser.cs @@ -20,7 +20,7 @@ public class CommonCsvParser : ISkuParser };
using CsvReader csvReader = new(reader, config);
- return csvReader.GetRecords<ProductQuantity>()
- .ToDictionary(pq => new Product() { Sku = pq.Product.Sku }, pq => pq.Quantity);
+ return csvReader.GetRecords<SkuQuantity>()
+ .ToDictionary(pq => new Product() { Sku = pq.Sku }, pq => pq.Quantity);
}
}
|