From f04946afb7cdb9c1c3e8f27ddcc11195d2a1b0f5 Mon Sep 17 00:00:00 2001 From: ivy-jh Date: Wed, 27 Nov 2024 16:16:42 +0100 Subject: [PATCH] fix creating new File in folder --- skribble-connector/processes/API/Documents.p.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skribble-connector/processes/API/Documents.p.json b/skribble-connector/processes/API/Documents.p.json index df3fd6b..bdfe7ec 100644 --- a/skribble-connector/processes/API/Documents.p.json +++ b/skribble-connector/processes/API/Documents.p.json @@ -278,8 +278,8 @@ "", "try{", " out.file = new File(in.document.id+\".pdf\", true);", - " ", " Binary base64 = Base64.getDecoder().decode(in.content);", + " out.file.createNewFile();", " out.file.writeBinary(base64);", "", "} catch(Exception e){",