Skip to content

Commit

Permalink
Merge pull request #1138 from stepansib/patch-1
Browse files Browse the repository at this point in the history
Validation error cause typo
  • Loading branch information
willfarrell authored Nov 17, 2023
2 parents b2d3276 + b790da3 commit d0d5ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/validator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const validatorMiddleware = (opts = {}) => {
// Bad Request
throw createError(400, 'Event object failed validation', {
cause: {
pacakge: '@middy/validator',
package: '@middy/validator',
data: eventSchema.errors
}
})
Expand Down

0 comments on commit d0d5ec5

Please sign in to comment.