Skip to content

Commit

Permalink
Fixing for inavlid schema accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacobsson committed Dec 9, 2020
1 parent a7ea0ad commit f70eaa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mhlabs/evb-cli",
"version": "1.1.28",
"version": "1.1.29",
"description": "A package for building EventBridge/CloudWatch Events patterns",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/shared/input-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function getProperty(currentObject, objectArray) {
}

async function getDetailTypeName(schemas, sourceName) {
const detailTypes = schemas.Schemas.filter((p) =>
const detailTypes = schemas.filter((p) =>
p.SchemaName.startsWith(`${sourceName}@`)
).map((p) => p.SchemaName.split("@")[1]);
const detailType = await prompt({
Expand Down

0 comments on commit f70eaa7

Please sign in to comment.