Commit d6721845 authored by Justin Ho's avatar Justin Ho

Fix params passed to service_hook_logs

Due to the renaming of routes, the param is now
different and should be updated accordingly.
parent 523c3082
......@@ -13,7 +13,7 @@ class Projects::ServiceHookLogsController < Projects::HookLogsController
private
def integration
@integration ||= @project.find_or_initialize_integration(params[:service_id])
@integration ||= @project.find_or_initialize_integration(params[:integration_id])
end
override :hook
......
......@@ -11,7 +11,7 @@ RSpec.describe Projects::ServiceHookLogsController do
{
namespace_id: project.namespace,
project_id: project,
service_id: integration.to_param,
integration_id: integration.to_param,
id: log.id
}
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment