Fix failing API test cases. #5210

This commit is contained in:
Aditya Toshniwal
2022-09-23 16:22:16 +05:30
committed by GitHub
parent 04d779c741
commit f64b572150

View File

@@ -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')