Skip to content

Commit f8bd5a6

Browse files
Merge pull request #1304 from OpenSignLabs/validation
fix: custom file storage not working in use template
2 parents dca8d25 + 101e7a9 commit f8bd5a6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

apps/OpenSign/src/primitives/GetReportDisplay.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ const ReportTable = (props) => {
274274
SendinOrder: Doc?.SendinOrder || false,
275275
AutomaticReminders: Doc?.AutomaticReminders || false,
276276
RemindOnceInEvery: Doc?.RemindOnceInEvery || 5,
277-
IsEnableOTP: Doc?.IsEnableOTP || false
277+
IsEnableOTP: Doc?.IsEnableOTP || false,
278+
IsFileAdapter: Doc?.IsFileAdapter || false
278279
};
279280
try {
280281
const res = await axios.post(

apps/OpenSignServer/cloud/parsefunction/PublicUserLinkContactToDoc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const createDocumentFromTemplate = async (template, existContact, index) => {
6363
object.set('ExtUserPtr', template?.ExtUserPtr);
6464
object.set('OriginIp', template?.OriginIp || '');
6565
object.set('IsEnableOTP', template?.IsEnableOTP || false);
66+
object.set('IsFileAdapter', template?.IsFileAdapter || false);
6667
let signers = template?.Signers || [];
6768
const signerobj = {
6869
__type: 'Pointer',

apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ export default async function createBatchDocs(request) {
201201
OriginIp: Ip,
202202
DocSentAt: { __type: 'Date', iso: isoDate },
203203
IsEnableOTP: x?.IsEnableOTP || false,
204+
IsFileAdapter: x?.IsFileAdapter || false,
204205
},
205206
};
206207
});

0 commit comments

Comments
 (0)