diff --git a/templates/da_cache_to_shub.json.j2 b/templates/da_cache_to_shub.json.j2 index 85dba35..c536871 100644 --- a/templates/da_cache_to_shub.json.j2 +++ b/templates/da_cache_to_shub.json.j2 @@ -125,8 +125,8 @@ "name": "decision", "taskReferenceName": "check_destination_folder_existance", "inputParameters": { - "folders": "${check_destination_folder.output.response.body.itemlist}", - "status": "${check_destination_folder.output.response.statusCode}" + "folders": "${check_destination_folder.output.body.itemlist}", + "status": "${check_destination_folder.output.statusCode}" }, "type": "DECISION", "caseExpression": "((($.folders && $.folders.length === 0) || $.statusCode === 404) ? 'create' : 'exists')",