mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
Fixes args passed to inbox activity task
This commit is contained in:
parent
858bf70d62
commit
b89cab1ee5
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Inbox(View):
|
||||||
high = ["Follow", "Accept", "Reject", "Block", "Unblock", "Undo"]
|
high = ["Follow", "Accept", "Reject", "Block", "Unblock", "Undo"]
|
||||||
|
|
||||||
priority = HIGH if activity_json["type"] in high else MEDIUM
|
priority = HIGH if activity_json["type"] in high else MEDIUM
|
||||||
activity_task.apply_async(args=(activity_json), queue=priority)
|
activity_task.apply_async(args=(activity_json,), queue=priority)
|
||||||
return HttpResponse()
|
return HttpResponse()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue