get correct item name for zonering
This commit is contained in:
parent
1c04dfe1af
commit
ee70322ddf
@ -21,8 +21,4 @@
|
||||
<ProjectReference Include="..\FarmmapsApi\FarmmapsApi.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Data" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -49,11 +49,10 @@ namespace FarmmapsZonering.Services
|
||||
return null;
|
||||
}
|
||||
|
||||
var itemName = $"VRAZonering";
|
||||
var applianceMapItem = await _generalService.FindChildItemAsync(cropfieldItem.Code,
|
||||
GEOTIFF_PROCESSED_ITEMTYPE, itemName,
|
||||
GEOTIFF_PROCESSED_ITEMTYPE, output.Name,
|
||||
i => i.Updated >= itemTask.Finished.GetValueOrDefault(DateTime.UtcNow) &&
|
||||
i.Name.ToLower().Contains(itemName.ToLower()));
|
||||
i.Name.ToLower().Contains(output.Name.ToLower()));
|
||||
|
||||
if (applianceMapItem == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user