mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Small syntax fix
This commit is contained in:
parent
f39cc6530b
commit
296bb379ec
1 changed files with 5 additions and 3 deletions
|
@ -36,15 +36,17 @@ def shared_inbox(request):
|
|||
if activity['type'] == 'Add':
|
||||
response = handle_incoming_shelve(activity)
|
||||
|
||||
if activity['type'] == 'Follow':
|
||||
elif activity['type'] == 'Follow':
|
||||
response = handle_incoming_follow(activity)
|
||||
|
||||
if activity['type'] == 'Create':
|
||||
elif activity['type'] == 'Create':
|
||||
response = handle_incoming_create(activity)
|
||||
|
||||
if activity['type'] == 'Accept':
|
||||
elif activity['type'] == 'Accept':
|
||||
response = handle_incoming_follow_accept(activity)
|
||||
|
||||
# TODO: Undo, Remove, etc
|
||||
|
||||
return response
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue