@orcapt/cli 1.0.4 → 1.0.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/package.json +1 -1
- package/src/commands/lambda.js +4 -4
package/package.json
CHANGED
package/src/commands/lambda.js
CHANGED
|
@@ -592,12 +592,12 @@ async function lambdaRemove(functionName) {
|
|
|
592
592
|
console.log(chalk.yellow('ECR repository will be kept for potential rollback.\n'));
|
|
593
593
|
|
|
594
594
|
const spinner = ora('Removing function...').start();
|
|
595
|
-
|
|
595
|
+
const endpoint = API_ENDPOINTS.LAMBDA_DELETE.replace('{functionName}', functionName);
|
|
596
596
|
try {
|
|
597
597
|
// Call backend API to delete Lambda function
|
|
598
598
|
const response = await makeApiRequest(
|
|
599
599
|
'DELETE',
|
|
600
|
-
|
|
600
|
+
endpoint,
|
|
601
601
|
credentials
|
|
602
602
|
);
|
|
603
603
|
|
|
@@ -631,12 +631,12 @@ async function lambdaInfo(functionName) {
|
|
|
631
631
|
const credentials = requireAuth();
|
|
632
632
|
|
|
633
633
|
const spinner = ora('Fetching function details...').start();
|
|
634
|
-
|
|
634
|
+
const endpoint = API_ENDPOINTS.LAMBDA_INFO.replace('{functionName}', functionName);
|
|
635
635
|
try {
|
|
636
636
|
// Call backend API to get function details
|
|
637
637
|
const response = await makeApiRequest(
|
|
638
638
|
'GET',
|
|
639
|
-
|
|
639
|
+
endpoint,
|
|
640
640
|
credentials
|
|
641
641
|
);
|
|
642
642
|
|