From f9c2fc8e2d5b4ab33166e22615e9c18798004662 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 26 Oct 2021 15:35:07 +0200 Subject: [PATCH] moved get workspace to pyrest --- templates/da_cache_to_shub.json.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/da_cache_to_shub.json.j2 b/templates/da_cache_to_shub.json.j2 index dc2f9ae..11c4b32 100644 --- a/templates/da_cache_to_shub.json.j2 +++ b/templates/da_cache_to_shub.json.j2 @@ -31,7 +31,10 @@ "inputParameters" : { "url" : "${init.input.storagehub}/workspace", "method" : "GET", - "headers" : { "Authorization" : "${init.input.auth}" } + "headers" : { + "Authorization" : "${init.input.auth}", + "Accept" : "application/json" + } }, "retryCount" : 5, "retryDelaySeconds": 10