There was an error while loading. Please reload this page.
1 parent 8c2ffbf commit fd1bb08Copy full SHA for fd1bb08
remote-config-diff/functions/index.js
@@ -5,7 +5,7 @@ const jsonDiff = require('json-diff');
5
6
admin.initializeApp();
7
8
-// [START js_remote_config_function]
+// [START remote_config_function]
9
exports.showConfigDiff = functions.remoteConfig.onUpdate(versionMetadata => {
10
return admin.credential.applicationDefault().getAccessToken()
11
.then(accessTokenObj => {
@@ -33,7 +33,7 @@ exports.showConfigDiff = functions.remoteConfig.onUpdate(versionMetadata => {
33
return null;
34
});
35
36
-// [END js_remote_config_function]
+// [END remote_config_function]
37
38
function getTemplate(version, accessToken) {
39
const options = {
0 commit comments