Permalink
Browse files

Add the app name to the bulk API response.

Specs are green.
  • Loading branch information...
1 parent 5aa5515 commit 824fd2a8c82a4dde31ca6f6d0f8ef3b394e53d2d @andreacampi andreacampi committed Jan 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 cloud_controller/app/controllers/bulk_controller.rb
@@ -59,7 +59,7 @@ def hash_apps_by_id(arr)
def hashify_app(app)
h = {}
- [:id, :instances, :state, :framework, :runtime, :memory, :package_state, :updated_at
+ [:id, :name, :instances, :state, :framework, :runtime, :memory, :package_state, :updated_at
].each {|field| h[field] = app.send(field) }
h[:version] = app.generate_version

0 comments on commit 824fd2a

Please sign in to comment.