Fixed a small federation issue when empty library summary

merge-requests/757/head
Eliot Berriot 2019-03-19 17:53:17 +01:00
rodzic 584c29bff6
commit b70636c2d8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -642,7 +642,7 @@ class LibrarySerializer(PaginatedCollectionSerializer):
defaults={
"uploads_count": validated_data["totalItems"],
"name": validated_data["name"],
"description": validated_data["summary"],
"description": validated_data.get("summary"),
"followers_url": validated_data["followers"],
"privacy_level": privacy[validated_data["audience"]],
},