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
Родитель 40de6947f1
Коммит 2898f5a9dd
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);
}
/**