Add new validation for files
Shchepotin opened this issue · comments
Replace this
nestjs-boilerplate/src/files/files.module.ts
Lines 62 to 76 in 7fc8bc5
With
MaxFileSizeValidator
and FileTypeValidator
NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.
Shchepotin opened this issue · comments
Replace this
nestjs-boilerplate/src/files/files.module.ts
Lines 62 to 76 in 7fc8bc5
With
MaxFileSizeValidator
and FileTypeValidator