diff --git a/main.py b/main.py index 5811ce4..90423fa 100644 --- a/main.py +++ b/main.py @@ -1043,9 +1043,15 @@ async def fastapi_get_curve_schema(network: str) -> dict[str, dict[str, Any]]: @app.post("/addcurve/") async def fastapi_add_curve(network: str, curve: str, req: Request) -> ChangeSet: props = await req.json() + + print(props) + ps = { 'id' : curve, } | props + + print(ps) + return add_curve(network, ChangeSet(ps)) @app.post("/deletecurve/")