Fixes typo in function call
This commit is contained in:
parent
4db2557581
commit
e35c805960
|
@ -270,7 +270,7 @@ def add_status_on_create(sender, instance, created, *args, **kwargs):
|
||||||
|
|
||||||
def add_status_on_create_command(sender, instance, created):
|
def add_status_on_create_command(sender, instance, created):
|
||||||
"""runs this code only after the database commit completes"""
|
"""runs this code only after the database commit completes"""
|
||||||
add_status_task.delay(instance.id, increment_unread_unread=created)
|
add_status_task.delay(instance.id, increment_unread=created)
|
||||||
|
|
||||||
if sender == models.Boost:
|
if sender == models.Boost:
|
||||||
handle_boost_task.delay(instance.id)
|
handle_boost_task.delay(instance.id)
|
||||||
|
|
Loading…
Reference in New Issue