Skip to content

Commit

Permalink
refactor: upd route GET /model/urdf/modules/ -> `/model/urdf/module…
Browse files Browse the repository at this point in the history
…s/map`
  • Loading branch information
EdoardoRomiti committed Nov 27, 2023
1 parent 267d1aa commit 3644fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modular/web/RobotDesignStudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def getModulesMap():
return modules

# get list of modules of robot
@app.route(f'{api_base_route}/model/urdf/modules', methods=['GET'])
@app.route(f'{api_base_route}/model/urdf/modules/map', methods=['GET'])
def getModelModules():
try:
ids = request.args.getlist('ids[]')
Expand Down

0 comments on commit 3644fe9

Please sign in to comment.