mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 18:20:20 -06:00
[Python 3] Fixed the issue processing the request data (decoding issue)
for UPDATE operation of the server node.
This commit is contained in:
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
Block a user