render protocol by template
This commit is contained in:
parent
da219eb5f4
commit
58213923e5
8 changed files with 950 additions and 3 deletions
|
@ -10,6 +10,7 @@ import {
|
|||
getProtocolDecisonsById,
|
||||
getProtocolPrecenseById,
|
||||
getProtocolVotingsById,
|
||||
printPdf,
|
||||
synchronizeProtocolAgendaById,
|
||||
synchronizeProtocolById,
|
||||
synchronizeProtocolDecisonsById,
|
||||
|
@ -59,6 +60,10 @@ router.post("/:protocolId/voting", async (req: Request, res: Response) => {
|
|||
await createProtocolVotingsById(req, res);
|
||||
});
|
||||
|
||||
router.post("/:protocolId/render", async (req: Request, res: Response) => {
|
||||
await printPdf(req, res);
|
||||
});
|
||||
|
||||
router.patch("/:id/synchronize", async (req: Request, res: Response) => {
|
||||
await synchronizeProtocolById(req, res);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue