Commit 1e2b8fdd authored by snehar-nd's avatar snehar-nd
Browse files

Chaged functions in docx and pdf endpoints

Showing with 5 additions and 5 deletions
+5 -5
......@@ -42,7 +42,7 @@ async function printDocx(req,res){
} else {
res.status(404).send({
error: errorMsg,
});
});
}
});
}
......@@ -164,8 +164,8 @@ module.exports = function (app) {
.get(
requestMiddleware.gzipCompression(),
requestMiddleware.createAndValidateRequestBody,
printDocx
// printPDF
// printDocx
printPDF
);
app
.route(BASE_URL + "/print/csv")
......@@ -186,7 +186,7 @@ module.exports = function (app) {
.get(
requestMiddleware.gzipCompression(),
requestMiddleware.createAndValidateRequestBody,
// printDocx
printPDF
printDocx
// printPDF
);
};
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment