IO-997 Use ownr_ph2 if ph1 is empty.

This commit is contained in:
Patrick Fic
2021-05-06 10:39:37 -07:00
parent fc70a94d5f
commit 3625d595ad
2 changed files with 18 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ namespace BodyshopPartner.Utils
List<ScanResponseItem> EstimatesOnDisk = new List<ScanResponseItem>();
List<string> ad1FilePaths = new List<string>();
Properties.Settings.Default.MonitoringPaths.ForEach(mp => ad1FilePaths.AddRange(Directory.GetFiles(mp, "*.env").ToList()));
Properties.Settings.Default.MonitoringPaths?.ForEach(mp => ad1FilePaths.AddRange(Directory.GetFiles(mp, "*.env").ToList()));
await JobProcessingQueue.GetOpCodes();