mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-25 14:10:05 -05:00
Fix failing API test cases. #5210
This commit is contained in:
1 parent
04d779c741
commit
f64b572150
1 file changed
+1
@@ -353,6 +353,7 @@ def initialize_sqleditor(trans_id, sgid, sid, did=None):
|
||||
connect = True
|
||||
# Read the data if present. Skipping read may cause connection
|
||||
# reset error if data is sent from the client
|
||||
data = {}
|
||||
if request.data:
|
||||
data = json.loads(request.data, encoding='utf-8')
|
||||
|
||||
|
||||
Reference in new issue
Block a user