From 1f1a51fd6cfaef87b30289d8d4601b0da89adba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= <72651575+BreizhHardware@users.noreply.github.com> Date: Mon, 26 May 2025 10:12:02 +0200 Subject: [PATCH] Update backend/routes/webhooks.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- backend/routes/webhooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/webhooks.js b/backend/routes/webhooks.js index b2c1fb0..1995969 100644 --- a/backend/routes/webhooks.js +++ b/backend/routes/webhooks.js @@ -323,7 +323,7 @@ router.post('/:id/trigger-monthly', async (req, res) => { }); // Get status of event webhooks -router.get('/event-status', async (req, res) => { +router.get('/event-status', authMiddleware, async (req, res) => { try { const eventTypes = ['playback_started', 'playback_ended', 'media_recently_added']; const result = {};