Commit 27a3ca0b authored by James Lopez's avatar James Lopez Committed by James Lopez

Apply suggestion to ee/lib/api/scim.rb

parent 5524971c
......@@ -147,7 +147,9 @@ module API
scim_not_found!(message: "Resource #{params[:id]} not found") unless identity
scim_not_found!(message: "Resource #{params[:id]} not found") unless destroy_identity(identity)
destroyed = destroy_identity(identity)
scim_not_found!(message: "Resource #{params[:id]} not found") unless destroyed
status 204
......
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