diff --git a/src/colab_spb/views.py b/src/colab_spb/views.py index 3623f72..e398302 100644 --- a/src/colab_spb/views.py +++ b/src/colab_spb/views.py @@ -73,8 +73,8 @@ def get_community_association(community, limit=7, offset=0): associations = CommunityAssociations.objects.all() for community_association in associations: - if community_association.community.name in community: - return {'community': community_association.community.name, + if community_association.community.identifier in community: + return {'community': community_association.community.identifier, 'repository': community_association.group.url, 'mailman_list': community_association.mail_list.name, 'limit': limit, -- libgit2 0.21.2