Bug 1065052 - Follow-up - Correctly pass the sessionType to MozLoopServiceInternal.hawkRequest. rs=mikedeboer DONTBUILD
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Wed, 10 Sep 2014 02:33:41 -0700
changeset 225337 dbfa16c4d3ccb4d06199012563bd7b9accfa7996
parent 225336 97040a73debbd341d92812a6e9db1b5c266bb14a
child 225338 185c8c55c7e83411a9f00c629b620da82b7b7b79
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer
bugs1065052
milestone34.0a2
Bug 1065052 - Follow-up - Correctly pass the sessionType to MozLoopServiceInternal.hawkRequest. rs=mikedeboer DONTBUILD
browser/components/loop/MozLoopService.jsm
--- a/browser/components/loop/MozLoopService.jsm
+++ b/browser/components/loop/MozLoopService.jsm
@@ -984,12 +984,12 @@ this.MozLoopService = {
    *                            transmitted with the request.
    * @returns {Promise}
    *        Returns a promise that resolves to the response of the API call,
    *        or is rejected with an error.  If the server response can be parsed
    *        as JSON and contains an 'error' property, the promise will be
    *        rejected with this JSON-parsed response.
    */
   hawkRequest: function(sessionType, path, method, payloadObj) {
-    return MozLoopServiceInternal.hawkRequest(path, method, payloadObj);
+    return MozLoopServiceInternal.hawkRequest(sessionType, path, method, payloadObj);
   },
 };
 Object.freeze(this.MozLoopService);