From 994701b1818de19c49423bdbd693189ce9a66f70 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 8 Nov 2020 02:09:06 +0100 Subject: [PATCH] Minor update --- docs/claims.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/claims.md b/docs/claims.md index 6322092..cb1efc9 100644 --- a/docs/claims.md +++ b/docs/claims.md @@ -72,7 +72,7 @@ Assuming the following JSON data: To verify any claim, the `path` should be set to: ```javascript -['firstField', 'secondField', 'finalField'] +claim.path = ['firstField', 'secondField', 'finalField'] ``` **JSON data containing arrays** @@ -101,7 +101,7 @@ Assuming the following JSON data: To verify any claim, the `path` should be set to: ```javascript -['firstField', 'fieldContainingArray', 'finalField'] +claim.path = ['firstField', 'fieldContainingArray', 'finalField'] ``` Every `finalField` field for every item in the `fieldContainingArray` array will