Commit e3b1f62c6b1fda0ea711f65c699d5025ab926c9d

Authored by miks
1 parent 52e99b6e

convert params hash to array

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/api/projects.rb
... ... @@ -53,7 +53,7 @@ module Gitlab
53 53 # Example Request:
54 54 # PUT /projects/:id/add_users
55 55 put ":id/add_users" do
56   - user_project.add_users_ids_to_team(params[:user_ids], params[:project_access])
  56 + user_project.add_users_ids_to_team(params[:user_ids].values, params[:project_access])
57 57 end
58 58  
59 59 # Get a project repository branches
... ...