Skip to content

Commit

Permalink
Update packages/common/pipes/validation.pipe.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec authored Nov 21, 2024
1 parent a3aceff commit f76a693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/pipes/validation.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class ValidationPipe implements PipeTransform<any> {
// Builder like SWC require empty string to be returned instead of an empty object
// when the value is nil and the metatype is not a class instance, but a plain object (enum, for example).
// Otherwise, the error will be thrown.
// @ref https://github.com/nestjs/nest/issues/12680
// @see https://github.com/nestjs/nest/issues/12680
return '';
}

Expand Down

0 comments on commit f76a693

Please sign in to comment.