mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 11:39:16 +02:00
Fix #758: Ensure all our ActivityPub fetches are authenticated
This commit is contained in:
parent
0cec13a78e
commit
da3710ff08
10 changed files with 40 additions and 12 deletions
|
@ -631,6 +631,7 @@ class LibrarySerializer(PaginatedCollectionSerializer):
|
|||
def create(self, validated_data):
|
||||
actor = utils.retrieve_ap_object(
|
||||
validated_data["actor"],
|
||||
actor=self.context.get("fetch_actor"),
|
||||
queryset=models.Actor,
|
||||
serializer_class=ActorSerializer,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue