We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b30d89 commit 2e0718eCopy full SHA for 2e0718e
1 file changed
src/opengeodeweb_back/app.py
@@ -63,7 +63,8 @@ def return_error() -> Response:
63
methods=["GET"],
64
)
65
def health() -> Response:
66
- return flask.make_response(utils_functions.kill_task(flask.current_app), 200)
+ health = utils_functions.kill_task(flask.current_app)
67
+ return flask.make_response({"health": health}, 200)
68
69
@app.route("/", methods=["POST"])
70
@cross_origin()
0 commit comments