diff options
author | Marc Paradise <marc@getchef.com> | 2015-03-04 02:43:54 -0500 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2015-07-10 10:16:57 -0700 |
commit | 27584250fd7b7d0ac76c32fdd93b70fdb3fb2fb9 (patch) | |
tree | c58a0cf150b490b17ca39e1b3841b79fe756d749 /lib/chef_zero/endpoints/user_organizations_endpoint.rb | |
parent | 28fe2928469885b0138de4d4270c6eccac8ab482 (diff) | |
download | chef-zero-27584250fd7b7d0ac76c32fdd93b70fdb3fb2fb9.tar.gz |
update chef-zero to be fully compatible with CS12
Diffstat (limited to 'lib/chef_zero/endpoints/user_organizations_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/user_organizations_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/user_organizations_endpoint.rb b/lib/chef_zero/endpoints/user_organizations_endpoint.rb index b6decb9..3eb13c4 100644 --- a/lib/chef_zero/endpoints/user_organizations_endpoint.rb +++ b/lib/chef_zero/endpoints/user_organizations_endpoint.rb @@ -13,7 +13,7 @@ module ChefZero result = result.map do |orgname| org = get_data(request, [ 'organizations', orgname, 'org' ]) org = FFI_Yajl::Parser.parse(org, :create_additions => false) - ChefData::DataNormalizer.normalize_organization(org, orgname) + { "organization" => ChefData::DataNormalizer.normalize_organization(org, orgname) } end json_response(200, result) end |