pdf: fix feature

Signed-off-by: Rodrigo Bertoldo de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
rodrigo committed 2026-02-27 19:52:05 -03:00
1 parent f4afe83db0
commit 4bec0ee582
11 files changed
+879 -92

No files matched your search

+21
View File
@@ -79,4 +79,25 @@ router.get(
PDFController.downloadFile
);
// Deleta uma operação específica
router.delete(
'/operation/:operacaoId',
authMiddleware,
PDFController.deleteOperation
);
// Limpa todo o histórico
router.delete(
'/history/clear',
authMiddleware,
PDFController.clearHistory
);
// Limpa operações antigas
router.delete(
'/history/cleanup',
authMiddleware,
PDFController.cleanupOldOperations
);
export default router;