small update for finding shape taskmap
This commit is contained in:
@@ -167,7 +167,7 @@ namespace FarmmapsApi.Services
|
||||
else if (outputType== "shape") {
|
||||
taskMapItem = await FindChildItemAsync(tiffItem.ParentCode,
|
||||
|
||||
SHAPE_PROCESSED_ITEMTYPE, itemName);
|
||||
SHAPE_PROCESSED_ITEMTYPE, outputType);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -178,7 +178,7 @@ namespace FarmmapsApi.Services
|
||||
|
||||
if (taskMapItem == null)
|
||||
{
|
||||
_logger.LogError("Could not find the shape/isoxml taskmap as a child item under the input");
|
||||
_logger.LogError("Could not find the shape/isoxml taskmap as a child item under the cropfield");
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace FarmmapsApi.Services
|
||||
dataItem = uploadedFilesChildren.FirstOrDefault(func);
|
||||
if (dataItem != null || tries == maxTries) {
|
||||
source.Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
tries++;
|
||||
});
|
||||
|
Reference in New Issue
Block a user