Skip to content

Commit

Permalink
fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhoune committed Oct 2, 2023
1 parent 1a93c46 commit 84a64ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot_blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_case_durations(botName):
def get_success_model(botName):
group_id = request.args.get('group-id', current_app.default_group_id)
service_id = request.args.get('service-id', current_app.default_service_id)
return fetch_success_model(current_app.success_model_url, botName, current_app.default_bot_pw, group_id, service_id)
return fetch_success_model(current_app.success_model_url, botName, current_app.default_bot_pw, service_id=service_id, group_id=group_id)


@bot_resource.route('/<botName>/groups')
Expand Down

0 comments on commit 84a64ed

Please sign in to comment.