fix: use the correct variable name in the route

pull/907/head
Raphaël Vinot 2024-04-09 11:54:51 +02:00
parent c9ddeb0065
commit 9fa71c8cf8
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ class TriggerModules(Resource): # type: ignore[misc]
return lookyloo.trigger_modules(capture_uuid, force=force)
@api.route('/json/<string:tree_uuid>/modules')
@api.route('/json/<string:capture_uuid>/modules')
@api.doc(description='Get responses from the 3rd party modules',
params={'capture_uuid': 'The UUID of the capture'})
class ModulesResponse(Resource): # type: ignore[misc]