Commit 41db9472 authored by Robert Hunt's avatar Robert Hunt

Rename params to audit_params to stop overwriting

parent 6d2ed283
...@@ -14,10 +14,10 @@ class Projects::AuditEventsController < Projects::ApplicationController ...@@ -14,10 +14,10 @@ class Projects::AuditEventsController < Projects::ApplicationController
def index def index
level = Gitlab::Audit::Levels::Project.new(project: project) level = Gitlab::Audit::Levels::Project.new(project: project)
# This is an interim change until we have proper API support within Audit Events # This is an interim change until we have proper API support within Audit Events
params = transform_author_entity_type(audit_logs_params) audit_params = transform_author_entity_type(audit_logs_params)
events = AuditLogFinder events = AuditLogFinder
.new(level: level, params: params) .new(level: level, params: audit_params)
.execute .execute
.page(params[:page]) .page(params[:page])
.without_count .without_count
......
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