Commit 27e44365 authored by miks's avatar miks

Return empty body

parent 499ff8b4
...@@ -75,6 +75,7 @@ module Gitlab ...@@ -75,6 +75,7 @@ module Gitlab
# POST /projects/:id/users # POST /projects/:id/users
post ":id/users" do post ":id/users" do
user_project.add_users_ids_to_team(params[:user_ids].values, params[:project_access]) user_project.add_users_ids_to_team(params[:user_ids].values, params[:project_access])
nil
end end
# Update users to specified access level # Update users to specified access level
...@@ -87,6 +88,7 @@ module Gitlab ...@@ -87,6 +88,7 @@ module Gitlab
# PUT /projects/:id/add_users # PUT /projects/:id/add_users
put ":id/users" do put ":id/users" do
user_project.update_users_ids_to_role(params[:user_ids].values, params[:project_access]) user_project.update_users_ids_to_role(params[:user_ids].values, params[:project_access])
nil
end end
# Delete project users # Delete project users
...@@ -98,6 +100,7 @@ module Gitlab ...@@ -98,6 +100,7 @@ module Gitlab
# DELETE /projects/:id/users # DELETE /projects/:id/users
delete ":id/users" do delete ":id/users" do
user_project.delete_users_ids_from_team(params[:user_ids].values) user_project.delete_users_ids_from_team(params[:user_ids].values)
nil
end end
# Get a project repository branches # Get a project repository branches
......
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