From c674dfeacf773579a2eb56cb3c02428268452b50 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 2 Sep 2016 15:50:36 -0700 Subject: remove create additions flag FFI_Yajl has never implemented this flag Signed-off-by: Lamont Granquist --- lib/chef_zero/endpoints/user_organizations_endpoint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef_zero/endpoints/user_organizations_endpoint.rb') diff --git a/lib/chef_zero/endpoints/user_organizations_endpoint.rb b/lib/chef_zero/endpoints/user_organizations_endpoint.rb index 03eae68..4e40eb0 100644 --- a/lib/chef_zero/endpoints/user_organizations_endpoint.rb +++ b/lib/chef_zero/endpoints/user_organizations_endpoint.rb @@ -12,7 +12,7 @@ module ChefZero end result = result.map do |orgname| org = get_data(request, [ "organizations", orgname, "org" ]) - org = FFI_Yajl::Parser.parse(org, :create_additions => false) + org = FFI_Yajl::Parser.parse(org) { "organization" => ChefData::DataNormalizer.normalize_organization(org, orgname) } end json_response(200, result) -- cgit v1.2.1