Created
May 22, 2017 07:49
-
-
Save zengfenfei/b334a4a93a4f1c9948eea5c6336ea819 to your computer and use it in GitHub Desktop.
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."); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment