gotta simplify the add activity
This commit is contained in:
parent
cbccdea468
commit
6e6bcb2f48
4 changed files with 80 additions and 10 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.AddListItem
|
||||
activity_serializer = activitypub.Add
|
||||
object_field = 'book'
|
||||
collection_field = 'book_list'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue