From 244cc30eb6587064256948376e0b3b4008ea05da Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Wed, 9 Oct 2024 14:36:29 +0530 Subject: [PATCH] fix: issue of enableTour in createDocumentWithTemplate api --- apps/OpenSign/src/pages/Form.js | 8 ++++---- .../customRoute/v1/routes/CreateDocumentWithTemplate.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/OpenSign/src/pages/Form.js b/apps/OpenSign/src/pages/Form.js index 0a5fd4a2e..be7754ee6 100644 --- a/apps/OpenSign/src/pages/Form.js +++ b/apps/OpenSign/src/pages/Form.js @@ -960,7 +960,7 @@ const Forms = (props) => { - +

{t("send-in-order")}

{t("send-in-order-help.p1")}

@@ -1081,7 +1081,7 @@ const Forms = (props) => {

@@ -1244,7 +1244,7 @@ const Forms = (props) => { )} - +

{t("isenable-otp")}

{t("isenable-otp-help.p1")}

@@ -1319,7 +1319,7 @@ const Forms = (props) => { {" "} - +

{t("enable-tour")}

diff --git a/apps/OpenSignServer/cloud/customRoute/v1/routes/CreateDocumentWithTemplate.js b/apps/OpenSignServer/cloud/customRoute/v1/routes/CreateDocumentWithTemplate.js index 6e7b8c072..05d91ab1d 100644 --- a/apps/OpenSignServer/cloud/customRoute/v1/routes/CreateDocumentWithTemplate.js +++ b/apps/OpenSignServer/cloud/customRoute/v1/routes/CreateDocumentWithTemplate.js @@ -199,7 +199,7 @@ export default async function createDocumentWithTemplate(request, response) { const enableOTP = request.body?.enableOTP; const IsEnableOTP = enableOTP !== undefined ? enableOTP : template?.IsEnableOTP || false; - const enableTour = request.body?.enableOTP; + const enableTour = request.body?.enableTour; const isTourEnabled = enableTour !== undefined ? enableTour : template?.IsTourEnabled || false; object.set('IsTourEnabled', isTourEnabled);