Fixes args passed to inbox activity task

This commit is contained in:
Mouse Reeve 2023-01-25 07:39:43 -08:00
parent 858bf70d62
commit b89cab1ee5

View file

@ -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()