Fixes bugs in how lists/shelves federate Adds
This commit is contained in:
parent
bf941f1507
commit
5f7466e92d
5 changed files with 33 additions and 6 deletions
|
@ -68,7 +68,7 @@ class ListItem(CollectionItemMixin, BookWyrmModel):
|
|||
order = fields.IntegerField(blank=True, null=True)
|
||||
endorsement = models.ManyToManyField('User', related_name='endorsers')
|
||||
|
||||
activity_serializer = activitypub.AddBook
|
||||
activity_serializer = activitypub.AddListItem
|
||||
object_field = 'book'
|
||||
collection_field = 'book_list'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue