forked from FarmMaps/FarmMapsApiClient
		
	Merge branch 'master' of https://git.akkerweb.nl/jits/FarmMapsApiClient_WURtest
This commit is contained in:
		@@ -94,7 +94,7 @@ namespace FarmmapsApi.Services
 | 
			
		||||
                return null;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            //the taskmap is a child of the input tiff
 | 
			
		||||
            //the taskmap is a child of the input tiff *** Update feb 2021: it is a child of the cropfield. 
 | 
			
		||||
            var itemName = "Taskmap";
 | 
			
		||||
            var taskMapItem = await FindChildItemAsync(tiffItem.ParentCode,
 | 
			
		||||
                SHAPE_PROCESSED_ITEMTYPE, itemName);
 | 
			
		||||
@@ -177,8 +177,6 @@ namespace FarmmapsApi.Services
 | 
			
		||||
            await PollTask(TimeSpan.FromSeconds(3), async source => {
 | 
			
		||||
                _logger.LogInformation($"Trying to get {containsName} data");
 | 
			
		||||
                var uploadedFilesChildren = await _farmmapsApiService.GetItemChildrenAsync(parentCode, itemType);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                Func<Item, bool> func = filter ?? (i => i.Name.ToLower().Contains(containsName.ToLower()));
 | 
			
		||||
                dataItem = uploadedFilesChildren.FirstOrDefault(func);
 | 
			
		||||
                if (dataItem != null || tries == maxTries) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user