Update backend/routes/webhooks.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Félix MARQUET
2025-05-26 10:11:51 +02:00
committed by GitHub
parent d9aba8a5a3
commit 247df5fed3

View File

@@ -316,7 +316,7 @@ router.post('/:id/trigger-monthly', async (req, res) => {
const success = await webhookManager.triggerMonthlySummaryWebhook(req.params.id);
if (success) {
res.status(200).json({ message: "Monthly report send with success" });
res.status(200).json({ message: "Monthly report sent successfully" });
} else {
res.status(500).json({ message: "Failed to send monthly report" });
}