@schnebel-crm/cli 0.1.4 → 0.1.5
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.
- package/dist/cli.mjs +4 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -440,10 +440,10 @@ const deployCommand = new Command("deploy").description("Deploy the integration
|
|
|
440
440
|
"Content-Type": "application/json",
|
|
441
441
|
"x-api-key": auth.apiKey
|
|
442
442
|
},
|
|
443
|
-
body: JSON.stringify({
|
|
443
|
+
body: JSON.stringify({ json: {
|
|
444
444
|
manifest,
|
|
445
445
|
bundle: bundleContent
|
|
446
|
-
})
|
|
446
|
+
} })
|
|
447
447
|
});
|
|
448
448
|
if (!res.ok) {
|
|
449
449
|
const body = await res.text();
|
|
@@ -507,10 +507,10 @@ const publishCommand = new Command("publish").description("Submit the integratio
|
|
|
507
507
|
"Content-Type": "application/json",
|
|
508
508
|
"x-api-key": auth.apiKey
|
|
509
509
|
},
|
|
510
|
-
body: JSON.stringify({
|
|
510
|
+
body: JSON.stringify({ json: {
|
|
511
511
|
slug,
|
|
512
512
|
githubUrl: config.github
|
|
513
|
-
})
|
|
513
|
+
} })
|
|
514
514
|
});
|
|
515
515
|
if (!res.ok) {
|
|
516
516
|
const body = await res.text();
|