diff --git a/package-lock.json b/package-lock.json index 88b0afb1f3..f4f7bb78f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25637,7 +25637,7 @@ "@contentstack/cli-cm-seed": "~1.7.2", "@contentstack/cli-command": "~1.2.17", "@contentstack/cli-config": "~1.6.3", - "@contentstack/cli-launch": "~1.0.16", + "@contentstack/cli-launch": "~1.0.17", "@contentstack/cli-migration": "~1.5.0", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", @@ -27258,7 +27258,7 @@ }, "packages/contentstack-launch": { "name": "@contentstack/cli-launch", - "version": "1.0.16", + "version": "1.0.17", "license": "MIT", "dependencies": { "@apollo/client": "^3.7.9", diff --git a/packages/contentstack-launch/README.md b/packages/contentstack-launch/README.md index dbef306de9..a2eb1cf1ac 100755 --- a/packages/contentstack-launch/README.md +++ b/packages/contentstack-launch/README.md @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-launch $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli-launch/1.0.16 darwin-arm64 node-v20.8.0 +@contentstack/cli-launch/1.0.17 darwin-arm64 node-v20.8.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND diff --git a/packages/contentstack-launch/package.json b/packages/contentstack-launch/package.json index 46a37b1f6f..3de9c5c672 100755 --- a/packages/contentstack-launch/package.json +++ b/packages/contentstack-launch/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-launch", - "version": "1.0.16", + "version": "1.0.17", "description": "Launch related operations", "author": "Contentstack CLI", "bin": { diff --git a/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts b/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts index 9740982d5e..169fba928c 100755 --- a/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts +++ b/packages/contentstack-launch/src/util/cloud-function/cloud-functions.ts @@ -77,7 +77,8 @@ export class CloudFunctions { const handler = loadAsESM( `${cloudFunctionResource.cloudFunctionFilePath}` ).default; - + app.use(express.json()); + app.use(express.urlencoded({ extended: true })); app.all( cloudFunctionResource.apiResourceURI, async (request: Request, response: Response) => { diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 2840cfbeaf..945a156359 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -35,7 +35,7 @@ "@contentstack/cli-cm-seed": "~1.7.2", "@contentstack/cli-command": "~1.2.17", "@contentstack/cli-config": "~1.6.3", - "@contentstack/cli-launch": "~1.0.16", + "@contentstack/cli-launch": "~1.0.17", "@contentstack/cli-migration": "~1.5.0", "@contentstack/cli-utilities": "~1.6.0", "@contentstack/management": "~1.15.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9808e8653..d44d9769c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,7 +23,7 @@ importers: '@contentstack/cli-cm-seed': ~1.7.2 '@contentstack/cli-command': ~1.2.17 '@contentstack/cli-config': ~1.6.3 - '@contentstack/cli-launch': ~1.0.16 + '@contentstack/cli-launch': ~1.0.17 '@contentstack/cli-migration': ~1.5.0 '@contentstack/cli-utilities': ~1.6.0 '@contentstack/management': ~1.15.3