feat: add links to response of GET /api/club/{club_id}

This commit is contained in:
imperosol
2026-05-02 19:31:03 +02:00
parent 59847b3973
commit b9b0c00b74
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class ClubController(ControllerBase):
queryset=Membership.objects.ongoing().select_related("user", "role"),
)
return self.get_object_or_exception(
Club.objects.prefetch_related(prefetch), id=club_id
Club.objects.prefetch_related(prefetch, "links"), id=club_id
)