diff options
| -rw-r--r-- | remoting/webapp/me2mom/host_list.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/webapp/me2mom/host_list.js b/remoting/webapp/me2mom/host_list.js index 8fd59c0..e66900b 100644 --- a/remoting/webapp/me2mom/host_list.js +++ b/remoting/webapp/me2mom/host_list.js @@ -221,7 +221,11 @@ remoting.HostList.prototype.renameHost_ = function(hostId) { 'Authorization': 'OAuth ' + token, 'Content-type' : 'application/json; charset=UTF-8' }; - var newHostDetails = { data: hostTableEntry.host }; + var newHostDetails = { data: { + hostId: hostTableEntry.host.hostId, + hostName: hostTableEntry.host.hostName, + publicKey: hostTableEntry.host.publicKey + } }; remoting.xhr.put( 'https://www.googleapis.com/chromoting/v1/@me/hosts/' + hostId, function(xhr) {}, |
