Skip to content
Snippets Groups Projects
Commit 380da5bd authored by ddamiron's avatar ddamiron
Browse files

change endpoint as status/<session_id>/latest

parent 63111d6c
Branches
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ def taskstatus(session_id): ...@@ -109,7 +109,7 @@ def taskstatus(session_id):
return Response(json.dumps(body, indent=4, sort_keys=True, default=str), mimetype='application/json') return Response(json.dumps(body, indent=4, sort_keys=True, default=str), mimetype='application/json')
@api.route('/status/latest/<session_id>') @api.route('/status/<session_id>/latest')
def lateststatus(session_id): def lateststatus(session_id):
my_latest_log = GetLatestLog(session_id=session_id, cfg=cfg) my_latest_log = GetLatestLog(session_id=session_id, cfg=cfg)
body = my_latest_log.main() body = my_latest_log.main()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment