diff options
author | Marc Paradise <marc@getchef.com> | 2015-03-04 02:56:57 -0500 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2015-07-10 10:24:40 -0700 |
commit | eb7ee61cd9ed1ff25ed0d435ac5842f7b524be06 (patch) | |
tree | db812540dd79d0484b6fbdfc19b485d3bedb20b2 /lib | |
parent | ad69f428b7ccf0728ecec4f5458f427503b987ce (diff) | |
download | chef-zero-eb7ee61cd9ed1ff25ed0d435ac5842f7b524be06.tar.gz |
use the supplied org_type in org creation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef_zero/endpoints/organizations_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/organizations_endpoint.rb b/lib/chef_zero/endpoints/organizations_endpoint.rb index d774371..41bf03b 100644 --- a/lib/chef_zero/endpoints/organizations_endpoint.rb +++ b/lib/chef_zero/endpoints/organizations_endpoint.rb @@ -50,7 +50,7 @@ module ChefZero json_response(201, { "uri" => "#{build_uri(request.base_uri, org_path)}", "name" => name, - "org_type" => "Pleasure", + "org_type" => org["org_type"], "full_name" => full_name, "clientname" => validator_name, "private_key" => private_key |