Skip to content

Commit

Permalink
Put required next to validator body (middyjs#469)
Browse files Browse the repository at this point in the history
* Put required next to validator body

* Version bump

Co-authored-by: Luciano Mammino <lucianomammino@gmail.com>
  • Loading branch information
2 people authored and benjifs committed May 21, 2020
1 parent 8f6626c commit 7d6bbed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ const inputSchema = {
},
required: ['creditCardNumber'] // Insert here all required event properties
}
},
required: ['creditCardNumber'] // Insert here all required event properties
}
}

// Let's "middyfy" our handler, then we will be able to attach middlewares to it
Expand Down

0 comments on commit 7d6bbed

Please sign in to comment.