Skip to content

Commit

Permalink
Update wording
Browse files Browse the repository at this point in the history
Co-authored-by: Kim Brose <2803622+HarHarLinks@users.noreply.github.com>
Signed-off-by: maheichyk <mikhail.aheichyk@gmail.com>
  • Loading branch information
maheichyk and HarHarLinks authored Jan 13, 2025
1 parent 17dec4d commit f2d28f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/adrs/adr007-events-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ We write validation logic in plain code when it is not complicated or we don't w

### Joi

It is preferred to use [Joi][joi] when we have to validate data with more complex structure. Joi provides powerful
We prefer to use [Joi][joi] when we need to validate data with more complex structure. Joi provides powerful
validation features.

[Example][exampleJoiReaction] that validates the content of `m.reaction.event`:
Expand Down

0 comments on commit f2d28f5

Please sign in to comment.