small fix

This commit is contained in:
Mark van der Wal 2020-05-06 14:28:35 +02:00
parent 38cb1e27a5
commit 2336bb138a

View File

@ -81,7 +81,7 @@ namespace FarmmapsHaulmkilling
var itemName = $"VRAHaulmkilling {agentName}"; var itemName = $"VRAHaulmkilling {agentName}";
var applianceMapItem = await _generalService.FindChildItemAsync(cropfieldItem.Code, var applianceMapItem = await _generalService.FindChildItemAsync(cropfieldItem.Code,
GEOTIFF_PROCESSED_ITEMTYPE, itemName, GEOTIFF_PROCESSED_ITEMTYPE, itemName,
i => i.Updated >= itemTask.Finished.GetValueOrDefault(DateTime.UtcNow) && i => i.Updated >= itemTask.Finished &&
i.Name.ToLower().Contains(itemName.ToLower())); i.Name.ToLower().Contains(itemName.ToLower()));
if (applianceMapItem == null) if (applianceMapItem == null)