From bbeb96dbda5f92dce6b756306c11b67fa4a1aae6 Mon Sep 17 00:00:00 2001 From: Tom Raterman Date: Wed, 28 May 2025 10:34:35 -0400 Subject: [PATCH] Minor changes --- PartSource.Automation/Jobs/POC/ImageList.cs | 4 ++-- PartSource.Automation/Jobs/UpdateFitment.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PartSource.Automation/Jobs/POC/ImageList.cs b/PartSource.Automation/Jobs/POC/ImageList.cs index 556dc3a..4eb7a9a 100644 --- a/PartSource.Automation/Jobs/POC/ImageList.cs +++ b/PartSource.Automation/Jobs/POC/ImageList.cs @@ -18,13 +18,13 @@ using Ratermania.Shopify.Resources; namespace PartSource.Automation.Jobs.POC { - public class GetImageUrls : IAutomationJob + public class AlsoGetImageUrls : IAutomationJob { private readonly NexpartService _nexpartService; private readonly PartSourceContext _partSourceContext; private readonly FitmentContext _fitmentContext; - public GetImageUrls(NexpartService nexpartService, PartSourceContext partSourceContext, FitmentContext fitmentContext) + public AlsoGetImageUrls(NexpartService nexpartService, PartSourceContext partSourceContext, FitmentContext fitmentContext) { _nexpartService = nexpartService; _partSourceContext = partSourceContext; diff --git a/PartSource.Automation/Jobs/UpdateFitment.cs b/PartSource.Automation/Jobs/UpdateFitment.cs index b08ae3b..9e689e5 100644 --- a/PartSource.Automation/Jobs/UpdateFitment.cs +++ b/PartSource.Automation/Jobs/UpdateFitment.cs @@ -93,7 +93,7 @@ namespace PartSource.Automation.Jobs ? string.Empty : product.BodyHtml.Substring(0, product.BodyHtml.IndexOf("") + "".Length); - IList vehicles = _vehicleFitmentService.GetVehiclesForPart(importData.PartNumber, importData.LineCode); + IList vehicles = await _vehicleFitmentService.GetVehiclesForPart(importData.PartNumber, importData.LineCode); IList vehicleIdFitment = _vehicleFitmentService.GetVehicleIdFitment(vehicles); if (!vehicleIdFitment.Any())