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){",