зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
40de6947f1
Коммит
2898f5a9dd
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче