From d6f5d6167ce9022b3b0afeb9553c71260d5f89f6 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Wed, 20 Nov 2019 13:11:00 +0100 Subject: [PATCH] fix binary lib: not returning inserted id --- process/Binary_lib/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/Binary_lib/process.js b/process/Binary_lib/process.js index ee2996423e..fce44116a0 100644 --- a/process/Binary_lib/process.js +++ b/process/Binary_lib/process.js @@ -111,7 +111,7 @@ SingleBinaryUtils.insert = function(pAssignmentTable, pAssignmentName, pAssignme */ SingleBinaryUtils.insertMainDocument = function(pAssignmentTable, pAssignmentName, pAssignmentRowId, pBase64, pFileName, pDescription, pAlias) { - SingleBinaryUtils.insert(pAssignmentTable, pAssignmentName, pAssignmentRowId, pBase64, pFileName, pDescription, "MAINDOCUMENT", pAlias); + return SingleBinaryUtils.insert(pAssignmentTable, pAssignmentName, pAssignmentRowId, pBase64, pFileName, pDescription, "MAINDOCUMENT", pAlias); }; /** -- GitLab