MIA 1 年之前
父節點
當前提交
d4168805ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  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=''),