From cedc4a3426196c659ab81b9ef39d7d40210c1040 Mon Sep 17 00:00:00 2001 From: Darren Rees Date: Sun, 27 Sep 2020 18:32:42 +0100 Subject: [PATCH] Add missing commas to code examples in README (#388) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35c42854..763e968b 100755 --- a/README.md +++ b/README.md @@ -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' }; @@ -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' }; @@ -600,4 +600,4 @@ E-Mail: [codedungeon@gmail.com](mailto:codedungeon@gmail.com) Twitter: [@codedungeon](http://twitter.com/codedungeon) -Website: [codedungeon.io](http://codedungeon.io) \ No newline at end of file +Website: [codedungeon.io](http://codedungeon.io)