feat: allow broadcast notifications

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-01-25 10:12:31 +02:00
parent 6a79f9f1ee
commit a3d42153d1
6 changed files with 45 additions and 13 deletions
@@ -23,7 +23,7 @@ export default async function createPlugin(
): Promise<Router> {
setInterval(() => {
env.notificationService.send({
entityRef: 'user:default/guest',
receivers: { type: 'broadcast' },
title: 'Test',
description: 'Test',
link: '/catalog',