Remove redundant activitypub dataclass
This commit is contained in:
parent
e707374888
commit
fb98ef4b38
4 changed files with 4 additions and 10 deletions
|
@ -57,7 +57,7 @@ class ShelfBook(CollectionItemMixin, BookWyrmModel):
|
|||
user = fields.ForeignKey(
|
||||
'User', on_delete=models.PROTECT, activitypub_field='actor')
|
||||
|
||||
activity_serializer = activitypub.AddBook
|
||||
activity_serializer = activitypub.Add
|
||||
object_field = 'book'
|
||||
collection_field = 'shelf'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue