fix(send_message): use result of send to actually do the work
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b2b5dbc091
commit
661df8d370
|
@ -55,7 +55,7 @@ def send_message(msgid, is_retry=False):
|
||||||
if msg.sent_at:
|
if msg.sent_at:
|
||||||
return
|
return
|
||||||
|
|
||||||
send(msg.as_outbound())
|
list(send(msg.as_outbound()))
|
||||||
|
|
||||||
msg.sent_at = timezone.now()
|
msg.sent_at = timezone.now()
|
||||||
msg.save()
|
msg.save()
|
||||||
|
|
Loading…
Reference in New Issue