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
This commit is contained in:
Yassine Doghri 2023-03-18 12:18:08 +00:00
parent 496c89a7e9
commit 2748f23137
1 changed files with 1 additions and 1 deletions

View File

@ -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') ?>