diff options
author | Frederick Muriuki Muriithi | 2023-04-06 12:31:05 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-06 12:31:05 +0300 |
commit | 17abad9300e4a96a14f94da486ef8307f7d27e06 (patch) | |
tree | 38fe3bfd36be9a821adfc67b83fbbd587ceb8b5e /gn3/api/async_commands.py | |
parent | 3d873435f0d464864d4d691d6be4db40931fac05 (diff) | |
download | genenetwork3-17abad9300e4a96a14f94da486ef8307f7d27e06.tar.gz |
Remove deprecated `gn3.db_utils.database_connector` function
Remove the deprecated function and fix a myriad of bugs that arise from
removing the function.
Issue: https://issues.genenetwork.org/issues/bugfix_coupling_current_app_and_db_utils
Diffstat (limited to 'gn3/api/async_commands.py')
-rw-r--r-- | gn3/api/async_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/async_commands.py b/gn3/api/async_commands.py index c0cf4bb..da146b8 100644 --- a/gn3/api/async_commands.py +++ b/gn3/api/async_commands.py @@ -11,6 +11,6 @@ def command_state(command_id): state = rconn.hgetall(name=command_id) if not state: return jsonify( - status=404, - error="The command id provided does not exist.") + error="The command id provided does not exist.", + status="error"), 404 return jsonify(dict(state.items())) |