This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Builds the url: '/account/~/extension/~', and make a PUT request to it | |
rc.account().extension().put({ status: "Enabled" }).then(function () { | |
console.log("Success to update extension."); | |
}).catch(function () { | |
console.error("Fail to update extension."); | |
}); |
OlderNewer