Commit 98b7cb5c authored by Robert Schilling's avatar Robert Schilling

Return 204 for delete endpoints

parent 388488fd
......@@ -99,7 +99,7 @@ module API
end
delete ":id/members/:user_id" do
source = find_source(source_type, params[:id])
# Ensure that memeber exists
# Ensure the member exists
source.members.find_by!(user_id: params[:user_id])
::Members::DestroyService.new(source, current_user, declared_params).execute
......
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