Skip to content

Commit

Permalink
Changes variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelGrant committed Mar 27, 2024
1 parent 131fdb4 commit 59c4c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/app/controllers/launchers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def save_script_params
k.match?('auto_environment_variable')
end

whitelisted_params = SAVE_SCRIPT_KEYS + auto_env_params
allowlist = SAVE_SCRIPT_KEYS + auto_env_params

params.permit({ launcher: whitelisted_params }, :project_id, :id)
params.permit({ launcher: allowlist }, :project_id, :id)
end

def find_project
Expand Down

0 comments on commit 59c4c5c

Please sign in to comment.