mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
Update backend/routes/webhooks.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user