Skip to content

Commit

Permalink
fix(validator): set coerceTypes to parse arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Лауд Алексей authored and Лауд Алексей committed Oct 14, 2021
1 parent 852993d commit e0441d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Ajv from 'ajv';

const ajv = new Ajv({
strict: false,
coerceTypes: true,
coerceTypes: 'array',
formats: {
int32: true,
int64: true,
Expand Down

0 comments on commit e0441d8

Please sign in to comment.