Bug 1736438 - Fix import for sendStandalonePing. r=nanj

I'm not actually sure how to test this, given that it passed on CI. But
the fix seems simple enough.

Differential Revision: https://phabricator.services.mozilla.com/D128787
This commit is contained in:
Bobby Holley 2021-10-18 19:52:59 +00:00
parent 40de6947f1
commit 2898f5a9dd

View File

@ -21,7 +21,7 @@ ChromeUtils.defineModuleGetter(
);
ChromeUtils.defineModuleGetter(
this,
"TelemetrySend",
"sendStandalonePing",
"resource://gre/modules/TelemetrySend.jsm"
);
@ -109,7 +109,7 @@ class PingCentre {
// We route through this helper because it gets hooked in testing.
static _sendStandalonePing(endpoint, payload) {
return TelemetrySend.sendStandalonePing(endpoint, payload);
return sendStandalonePing(endpoint, payload);
}
/**