From: Guillaume Pellerin Date: Wed, 1 Feb 2023 10:30:05 +0000 (+0100) Subject: fix staff notification X-Git-Tag: 2.9.0~74^2~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b287a87a98d06da9f9a1bc2445634b5c1aa0cbf2;p=teleforma.git fix staff notification --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 7b6c9e0d..0bd1d288 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -1005,7 +1005,7 @@ class LiveConferenceNotify(APIView): # notify staff for user in User.objects.filter(is_staff=True): - notify(student.user, text, url) + notify(user, text, url) return Response({'status': 'ok'})