Skip to content

Commit

Permalink
Add missing commas to code examples in README (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyph3r authored Sep 27, 2020
1 parent 1dd01de commit cedc4a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ let nested = {

let flattened = {
'name': 'required',
'bio.age': 'min:18'
'bio.age': 'min:18',
'bio.education.primary': 'string',
'bio.education.secondary': 'string'
};
Expand Down Expand Up @@ -164,7 +164,7 @@ We could declare our validation rules as follows:
```js
let rules = {
'users.*.name': 'required',
'users.*.bio.age': 'min:18'
'users.*.bio.age': 'min:18',
'users.*.bio.education.primary': 'string',
'users.*.bio.education.secondary': 'string'
};
Expand Down Expand Up @@ -600,4 +600,4 @@ E-Mail: [[email protected]](mailto:[email protected])

Twitter: [@codedungeon](http://twitter.com/codedungeon)

Website: [codedungeon.io](http://codedungeon.io)
Website: [codedungeon.io](http://codedungeon.io)

0 comments on commit cedc4a3

Please sign in to comment.