dict fix on pycli

master
Paulo Simão 2021-03-05 09:49:27 -03:00
parent 7674c28999
commit 378306892f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def InvokeTxt(path: str, method: str, body) -> str:
def InvokeJSON(path: str, method: str, body) -> dict: def InvokeJSON(path: str, method: str, body) -> dict:
d = body.__dict__ d = body.__dict__
return json.loads(InvokeTxt(path, method, body)) return json.loads(InvokeTxt(path, method, d))
`, api.BasePath)) `, api.BasePath))
b.WriteString("#endregion\n\n") b.WriteString("#endregion\n\n")