summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/organization_association_requests_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/organization_association_requests_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/organization_association_requests_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/organization_association_requests_endpoint.rb b/lib/chef_zero/endpoints/organization_association_requests_endpoint.rb
index aeba290..cb4005d 100644
--- a/lib/chef_zero/endpoints/organization_association_requests_endpoint.rb
+++ b/lib/chef_zero/endpoints/organization_association_requests_endpoint.rb
@@ -6,7 +6,7 @@ module ChefZero
# /organizations/ORG/association_requests
class OrganizationAssociationRequestsEndpoint < RestBase
def post(request)
- json = FFI_Yajl::Parser.parse(request.body, :create_additions => false)
+ json = FFI_Yajl::Parser.parse(request.body)
username = json["user"]
orgname = request.rest_path[1]
id = "#{username}-#{orgname}"