Refine
This commit is contained in:
1
main.py
1
main.py
@@ -52,6 +52,7 @@ async def fastapi_get_extension_data(network: str, key: str) -> str | None:
|
||||
@app.post('/setextensiondata')
|
||||
async def fastapi_set_extension_data(network: str, req: Request) -> ChangeSet:
|
||||
props = await req.json()
|
||||
print(props)
|
||||
return set_extension_data(network, ChangeSet(props))
|
||||
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user