Commit 010cfda2 authored by Nick Thomas's avatar Nick Thomas

Resolve conflict in groups API

parent c84c3581
......@@ -100,7 +100,6 @@ module API
group = ::Groups::CreateService.new(current_user, declared_params(include_missing: false)).execute
if group.persisted?
<<<<<<< HEAD
# NOTE: add backwards compatibility for single ldap link
if ldap_link_attrs[:cn].present?
group.ldap_group_links.create(
......@@ -109,8 +108,6 @@ module API
)
end
=======
>>>>>>> ce/master
present group, with: Entities::GroupDetail, current_user: current_user
else
render_api_error!("Failed to save group #{group.errors.messages}", 400)
......
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