@schnebel-crm/cli 0.1.3 → 0.1.4
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 +2 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -434,7 +434,7 @@ const deployCommand = new Command("deploy").description("Deploy the integration
|
|
|
434
434
|
const manifestData = JSON.parse(manifest);
|
|
435
435
|
log.step(`Deploying ${manifestData.name}@${manifestData.version}...`);
|
|
436
436
|
try {
|
|
437
|
-
const res = await fetch(`${auth.url}/rpc/customIntegration
|
|
437
|
+
const res = await fetch(`${auth.url}/rpc/customIntegration/upload`, {
|
|
438
438
|
method: "POST",
|
|
439
439
|
headers: {
|
|
440
440
|
"Content-Type": "application/json",
|
|
@@ -501,7 +501,7 @@ const publishCommand = new Command("publish").description("Submit the integratio
|
|
|
501
501
|
const slug = `${manifestData.id}`;
|
|
502
502
|
log.step(`Submitting ${manifestData.name}@${manifestData.version} for review...`);
|
|
503
503
|
try {
|
|
504
|
-
const res = await fetch(`${auth.url}/rpc/customIntegration
|
|
504
|
+
const res = await fetch(`${auth.url}/rpc/customIntegration/submitForReview`, {
|
|
505
505
|
method: "POST",
|
|
506
506
|
headers: {
|
|
507
507
|
"Content-Type": "application/json",
|