Skip to content

Commit

Permalink
Fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotheem committed Nov 20, 2024
1 parent 501d212 commit 3377f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/schools/endpoints_schools.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def create_school(
**This endpoint is only usable by administrators**
"""
if (
if ( # We can't have two schools with the same name
await cruds_schools.get_school_by_name(school_name=school.name, db=db)
is not None
):
Expand Down

0 comments on commit 3377f9e

Please sign in to comment.