Added extra check for verifying the rename of the database.

refs #4203
This commit is contained in:
Rahul Shirsat
2021-06-07 21:11:28 +05:30
committed by Akshay Joshi
parent 5b12483416
commit d5f537aae4
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -505,6 +505,8 @@ def poll(trans_id):
transaction_status = conn.transaction_status()
data_obj['db_name'] = conn.db
data_obj['db_id'] = trans_obj.did \
if trans_obj is not None and hasattr(trans_obj, 'did') else 0
return make_json_response(
data={