Skip to content

Commit 1d6c108

Browse files
fix: can not access template before initialization
1 parent e8eef32 commit 1d6c108

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/OpenSignServer/cloud/customRoute/v1/routes/CreateDocumentWithTemplate.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export default async function createDocumentWithTemplate(request, response) {
102102
className: 'contracts_Document',
103103
objectId: folderId,
104104
};
105-
const template = JSON.parse(JSON.stringify(templateRes));
106105
const object = new Parse.Object('contracts_Document');
107106
object.set('Name', template.Name);
108107
if (template?.Note) {

0 commit comments

Comments
 (0)