[Python 3] Fixed the issue processing the request data (decoding issue)
for UPDATE operation of the server node.pull/3/head
parent
ba4a6faaa4
commit
d2f6135a98
|
@ -317,7 +317,7 @@ class ServerNode(PGChildNodeView):
|
|||
}
|
||||
|
||||
idx = 0
|
||||
data = request.form if request.form else json.loads(request.data)
|
||||
data = request.form if request.form else json.loads(request.data.decode())
|
||||
|
||||
from pgadmin.utils.driver import get_driver
|
||||
manager = get_driver(PG_DEFAULT_DRIVER).connection_manager(sid)
|
||||
|
|
Loading…
Reference in New Issue