sitevision-cli 1.0.0-beta.21 → 1.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -509,9 +509,8 @@ export async function createAddon(config, appType) {
|
|
|
509
509
|
export async function activateApp(executableId, config, _appType) {
|
|
510
510
|
const protocol = config.useHTTP ? 'http' : 'https';
|
|
511
511
|
const url = `${protocol}://${config.domain}/rest-api/1/0/${encodeURIComponent(config.siteName)}/Addon%20Repository/${encodeURIComponent(config.addonName)}/activateCustomModuleExecutable`;
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
});
|
|
512
|
+
// Property name per the ActivateCustomModuleExecutable PUT docs.
|
|
513
|
+
const body = JSON.stringify({ customModuleExecutableId: executableId });
|
|
515
514
|
const { auth, kind } = configAuth(config);
|
|
516
515
|
try {
|
|
517
516
|
const response = await makeRequest(url, {
|