Various changes

This commit is contained in:
2021-07-31 11:10:33 -04:00
parent 962ad3383f
commit fb6dbdfaa7
8 changed files with 42 additions and 36 deletions

View File

@@ -38,6 +38,7 @@ namespace PartSource.Automation.Jobs
try
{
products = await _shopifyClient.Products.Get(new Dictionary<string, object> { { "limit", 250 } });
prices = await _partSourceContext.PartPrices.ToListAsync();
}
@@ -120,7 +121,7 @@ namespace PartSource.Automation.Jobs
}
}
_emailService.Send("Update Pricing Completed", $"{updateCount} prices were updated");
_emailService.Send("Pricing Update Completed", $"The pricing update has completed. Total updated: {updateCount}");
}
}
}