@mondart/nestjs-common-module 1.1.59 → 1.1.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,8 +10,7 @@ exports.validationOptions = {
10
10
  exceptionFactory: (errors) => new common_1.UnprocessableEntityException({
11
11
  status: common_1.HttpStatus.UNPROCESSABLE_ENTITY,
12
12
  message: `Validation failed: ${errors.length} errors found`,
13
- details: mapValidationErrors(errors),
14
- }),
13
+ }, mapValidationErrors(errors)),
15
14
  };
16
15
  function mapValidationErrors(errors) {
17
16
  return errors.reduce((result, error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondart/nestjs-common-module",
3
- "version": "1.1.59",
3
+ "version": "1.1.61",
4
4
  "description": "",
5
5
  "author": {
6
6
  "name": "Mondart"