diff --git a/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/Geoportal_HTML_Page.java b/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/Geoportal_HTML_Page.java index 38c2f7c..26d8b29 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/Geoportal_HTML_Page.java +++ b/src/main/java/org/gcube/datatransfer/resolver/geoportal/exporter/Geoportal_HTML_Page.java @@ -61,7 +61,7 @@ public class Geoportal_HTML_Page { + " async function playPDFPoll() {\n" + " const response_object = await fetchPDF_URL();\n" + " try {\n" - + " console.log(\"json response \" + error_msg);\n" + + " console.log(\"json response \" + response_object);\n" + " if (response_object.state === \"OK\") {\n" + " if (!(response_object.url === null) && !(response_object.url === undefined)) {\n" + " window.location.replace(response_object.url);\n"