mirror of
https://github.com/ae-utbm/sith.git
synced 2026-05-13 20:48:06 +00:00
feat: add links to response of GET /api/club/{club_id}
This commit is contained in:
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user