Skip to content

Commit

Permalink
Merge pull request #1338 from contentstack/fix/CS-44169
Browse files Browse the repository at this point in the history
fix: handled request.body undefined issue in launch plugin
  • Loading branch information
aman19K authored Mar 11, 2024
2 parents a4359a1 + deec7f3 commit 805337d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/contentstack-launch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-launch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-launch",
"version": "1.0.16",
"version": "1.0.17",
"description": "Launch related operations",
"author": "Contentstack CLI",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 805337d

Please sign in to comment.