Permalink
Browse files

Merge pull request #8 from kraman/master

Fix for Bugz# 812308
  • Loading branch information...
2 parents fcfba3f + a278527 commit 0718ff2722f7d2915486f2667b6e8da7a8945110 @smarterclayton smarterclayton committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 express/lib/rhc-rest/domain.rb
@@ -44,7 +44,7 @@ def update(new_id)
logger.debug "Updating domain #{self.id} to #{new_id}" if @mydebug
url = @links['UPDATE']['href']
method = @links['UPDATE']['method']
- payload = {:domain_id => new_id}
+ payload = {:id => new_id}
request = RestClient::Request.new(:url => url, :method => method, :headers => @@headers, :payload => payload)
return send(request)
end

0 comments on commit 0718ff2

Please sign in to comment.