MIA 1 year ago
parent
commit
d4168805ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/classes.py

+ 1 - 1
app/api/classes.py

@@ -106,7 +106,7 @@ async def insert_class(
     except Exception as e:
         return {"msg": str(e), "code": 500}
 
-@classes.event("/insert_event")
+@classes.post("/insert_event")
 async def insert_event(
     id: int = Form(default=0),
     name_id: int = Form(default=''),