]> git.parisson.com Git - teleforma.git/commitdiff
no await
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 6 Feb 2026 23:25:46 +0000 (00:25 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 6 Feb 2026 23:25:46 +0000 (00:25 +0100)
teleforma/views/core.py

index 03c16470809d50614ad1c46c688884e775d4fb91..e3f03eb08ac932b94969e8b8f02ac42582d0b854 100644 (file)
@@ -1083,7 +1083,7 @@ class LiveConferenceNotifyAsync(APIView):
                     for course in courses:
                         if conference.course == course['course'] and \
                                 conference.course_type in course['types']:
-                            await notify(student.user, text, url)
+                            notify(student.user, text, url)
                             logger.info("Student notified: " + student.user.username)
             except Exception as e:
                 logger.warning("Student NOT notified: " + str(student.id))