Prechádzať zdrojové kódy

Merge branch 'master' of http://git.choozmo.com:3000/zooey/ntcri

conrad 1 rok pred
rodič
commit
8c9b19971e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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=''),