diff --git a/src/server/BreCal/schemas/model.py b/src/server/BreCal/schemas/model.py index 5dd51ad..2296968 100644 --- a/src/server/BreCal/schemas/model.py +++ b/src/server/BreCal/schemas/model.py @@ -579,7 +579,7 @@ class User: def __hash__(self): return hash(id) - def wants_notification(self, notification_type: NotificationType): + def wants_notifications(self, notification_type: NotificationType): return notification_type in self.notify_event @dataclass