From 661df8d37061725eb076b7237bf6d30105a968b3 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 10 May 2024 19:55:10 +0200 Subject: [PATCH] fix(send_message): use result of send to actually do the work --- shiftregister/app/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/app/tasks.py b/shiftregister/app/tasks.py index 02e93cb..e981e7c 100644 --- a/shiftregister/app/tasks.py +++ b/shiftregister/app/tasks.py @@ -55,7 +55,7 @@ def send_message(msgid, is_retry=False): if msg.sent_at: return - send(msg.as_outbound()) + list(send(msg.as_outbound())) msg.sent_at = timezone.now() msg.save()