Index: remoting/webapp/app_remoting/js/feedback_consent.js |
diff --git a/remoting/webapp/app_remoting/js/feedback_consent.js b/remoting/webapp/app_remoting/js/feedback_consent.js |
index 2195ea50c7b6b68408f67e65209872c6fb6ff49a..9dce2383a0a891e5f732b02b64cc48b45e924415 100644 |
--- a/remoting/webapp/app_remoting/js/feedback_consent.js |
+++ b/remoting/webapp/app_remoting/js/feedback_consent.js |
@@ -3,11 +3,6 @@ |
// found in the LICENSE file. |
'use strict'; |
- |
-/** |
- * @type {string} The app id (from the webstore) for this application. |
- */ |
-var appId = ''; |
/** |
* @type {string} The host id corresponding to the user's VM. The @pending |
@@ -145,7 +140,7 @@ |
'crashServiceReportId': crashServiceReportId |
}; |
var uri = remoting.settings.APP_REMOTING_API_BASE_URL + |
- '/applications/' + appId + |
+ '/applications/' + remoting.settings.getAppRemotingApplicationId() + |
'/hosts/' + hostId + |
'/reportIssue'; |
var onDone = function(/** !remoting.Xhr.Response */ response) { |
@@ -255,7 +250,6 @@ |
if (event.data['hostId']) { |
hostId = /** @type {string} */ (event.data['hostId']); |
} |
- appId = /** @type {string} */ (event.data['appId']); |
connectionStats = /** @type {string} */ (event.data['connectionStats']); |
sessionId = /** @type {string} */ (event.data['sessionId']); |
} |