diff --git a/authentik/events/tasks.py b/authentik/events/tasks.py index 48879a45e..8ab4f8662 100644 --- a/authentik/events/tasks.py +++ b/authentik/events/tasks.py @@ -105,7 +105,9 @@ def notification_transport( """Send notification over specified transport""" self.save_on_success = False try: - notification: Notification = Notification.objects.filter(pk=notification_pk).first() + notification: Notification = Notification.objects.filter( + pk=notification_pk + ).first() if not notification: return transport: NotificationTransport = NotificationTransport.objects.get(