Commit 2748f231 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(notifications): set mark-all-as-read parameter to be podcast_id instead of actor_id

This fixes a permission error when clicking on mark all as read
parent 496c89a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
<?= $this->endSection() ?>

<?= $this->section('headerRight') ?>
<Button uri="<?= route_to('notification-mark-all-as-read', $podcast->actor_id) ?>" variant="primary"><?= lang('Notifications.mark_all_as_read') ?></Button>
<Button uri="<?= route_to('notification-mark-all-as-read', $podcast->id) ?>" variant="primary"><?= lang('Notifications.mark_all_as_read') ?></Button>
<?= $this->endSection() ?>

<?= $this->section('content') ?>