mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:19:15 +02:00
Fixed a small federation issue when empty library summary
This commit is contained in:
parent
584c29bff6
commit
b70636c2d8
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ class LibrarySerializer(PaginatedCollectionSerializer):
|
||||||
defaults={
|
defaults={
|
||||||
"uploads_count": validated_data["totalItems"],
|
"uploads_count": validated_data["totalItems"],
|
||||||
"name": validated_data["name"],
|
"name": validated_data["name"],
|
||||||
"description": validated_data["summary"],
|
"description": validated_data.get("summary"),
|
||||||
"followers_url": validated_data["followers"],
|
"followers_url": validated_data["followers"],
|
||||||
"privacy_level": privacy[validated_data["audience"]],
|
"privacy_level": privacy[validated_data["audience"]],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue