Skip to content

Commit 34f560a

Browse files
committed
Fix non-embedded body in sport endpoint
1 parent 6837f3d commit 34f560a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/sport_competition/endpoints_sport_competition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async def enable_inscription(
235235
user: schemas_sport_competition.CompetitionUser = Depends(
236236
is_user_in(group_id=GroupType.competition_admin),
237237
),
238-
enable: bool = Body(),
238+
enable: bool = Body(embed=True),
239239
) -> None:
240240
"""
241241
Enable inscription for a competition edition.

0 commit comments

Comments
 (0)