Commit e3b1f62c6b1fda0ea711f65c699d5025ab926c9d
1 parent
52e99b6e
Exists in
master
and in
4 other branches
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,7 +53,7 @@ module Gitlab | ||
53 | # Example Request: | 53 | # Example Request: |
54 | # PUT /projects/:id/add_users | 54 | # PUT /projects/:id/add_users |
55 | put ":id/add_users" do | 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 | end | 57 | end |
58 | 58 | ||
59 | # Get a project repository branches | 59 | # Get a project repository branches |