@@ -50,10 +50,10 @@ app.delete('/contact/:contact_id', deleteContact);
50
50
app . get ( '/contactlist' , getContactList ) ;
51
51
52
52
// create Document
53
- app . post ( '/createdocumentwithbinary' , upload . array ( 'file' , 1 ) , createDocument ) ;
53
+ app . post ( '/createdocumentwithbinary' , upload . array ( 'file' , 1 ) , createDocumentwithCoordinate ) ;
54
54
55
55
// create Document with co-ordinate
56
- app . post ( '/createdocument' , upload . array ( 'file' , 1 ) , createDocumentwithCoordinate ) ;
56
+ app . post ( '/createdocument' , createDocumentwithCoordinate ) ;
57
57
58
58
// create Document with base64 without placeholder
59
59
app . post ( '/draftdocument' , createDocument ) ;
@@ -74,13 +74,13 @@ app.delete('/document/:document_id', deleteDocument);
74
74
app . get ( '/documentlist/:doctype' , getDocumentList ) ;
75
75
76
76
// create Template with co-ordinate
77
- app . post ( '/createtemplate' , upload . array ( 'file' , 1 ) , createTemplatewithCoordinate ) ;
77
+ app . post ( '/createtemplate' , createTemplatewithCoordinate ) ;
78
78
79
79
// create Template
80
80
app . post ( '/drafttemplate' , createTemplate ) ;
81
81
82
82
// create Template with binary
83
- app . post ( '/createtemplatewithbinary' , upload . array ( 'file' , 1 ) , createTemplate ) ;
83
+ app . post ( '/createtemplatewithbinary' , upload . array ( 'file' , 1 ) , createTemplatewithCoordinate ) ;
84
84
85
85
// get template on the basis of id
86
86
app . get ( '/template/:template_id' , getTemplate ) ;
0 commit comments