Skip to content

Commit 73fa4fe

Browse files
Set default file size to 0 for attachments
1 parent a49844d commit 73fa4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Joi.optionalId = () => Joi.string().uuid()
88
Joi.id = () => Joi.optionalId().required()
99
Joi.page = () => Joi.number().integer().min(1).default(1)
1010
Joi.perPage = () => Joi.number().integer().min(1).max(100).default(20)
11-
Joi.fileSize = () => Joi.number().integer().min(0)
11+
Joi.fileSize = () => Joi.number().integer().min(0).default(0)

0 commit comments

Comments
 (0)