Works on #55
This commit is contained in:
Mouse Reeve
2020-02-20 22:19:19 -08:00
parent 13b512b569
commit 870d0b9697
15 changed files with 205 additions and 37 deletions

View File

@ -118,6 +118,7 @@ def get_add_remove(user, book, shelf, action='Add'):
'type': action,
'actor': user.actor,
'object': {
# TODO: document??
'type': 'Document',
'name': book.data['title'],
'url': book.openlibrary_key