From d879d8cc5c2671ba00fa1c5bb8e4b2029a37d9c8 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Sat, 8 Feb 2025 11:16:21 +0100 Subject: [PATCH] Fixed typo --- src/server/BreCal/schemas/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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