Skip to content

Commit

Permalink
fix route return
Browse files Browse the repository at this point in the history
  • Loading branch information
meguiraun authored and marcus-oscarsson committed Oct 3, 2023
1 parent 9893e21 commit 0123539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxcube3/routes/beamline.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def set_func():
args = request.get_json()
adapter = app.mxcubecore.get_adapter(obj.lower())
adapter.execute_command(cmd_name, args)
return make_response("{}", 200)
return "Command executed successfull"

set_func.__name__ = f"{obj}_{cmd_name}"

Expand Down

0 comments on commit 0123539

Please sign in to comment.