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:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user