From daa83dc867117a2fd4631c1da5c3d7c51d75ee7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A1=D1=83=D0=BC?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 1 Mar 2025 11:26:50 +0300 Subject: [PATCH] bug: participants field in competition view --- services/backend/api/v1/competition/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backend/api/v1/competition/schemas.py b/services/backend/api/v1/competition/schemas.py index 1c5aff1..079baab 100644 --- a/services/backend/api/v1/competition/schemas.py +++ b/services/backend/api/v1/competition/schemas.py @@ -11,7 +11,7 @@ class CompetitionOut(ModelSchema): class Meta: model = Competition - fields = "__all__" + exclude = ("participants",) class StateOut(ModelSchema):