mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix failing API test cases. #5210
This commit is contained in:
@@ -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