From 3377f9ea1fb6d7bfe87efd0efdd53c823d4b4d5f Mon Sep 17 00:00:00 2001 From: Thonyk Date: Wed, 20 Nov 2024 16:44:25 +0100 Subject: [PATCH] Fix: add comment --- app/core/schools/endpoints_schools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/schools/endpoints_schools.py b/app/core/schools/endpoints_schools.py index 3aaf1eafc..8738be29d 100644 --- a/app/core/schools/endpoints_schools.py +++ b/app/core/schools/endpoints_schools.py @@ -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 ):