Skip to content

HAMUR_E6803: A notification without a channel

A notification without a channel. Error HAMUR_E6803 belongs to @hamur/notifications (6801 – 6900).

Message

text
HAMUR_E6803 <file> has no channel: give it mail, database, broadcast or webhook

Cause

The options of defineNotification hold none of the channels, so the notification would reach nobody.

Fix

Add a channel function, such as mail: (input) => ({ subject, template, props }).