Fix component exesql bug (#2042)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
H
2024-08-22 10:19:22 +08:00
committed by GitHub
parent 642006c8e2
commit f2c4d53c58
3 changed files with 7 additions and 4 deletions

View File

@ -175,6 +175,6 @@ def test_db_connect():
password=req["password"])
db.connect()
db.close()
return get_json_result(retmsg="Database Connection Successful!")
return get_json_result(data="Database Connection Successful!")
except Exception as e:
return server_error_response(e)