diff options
Diffstat (limited to 'util/jsonpointer.lua')
-rw-r--r-- | util/jsonpointer.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsonpointer.lua b/util/jsonpointer.lua index 7c657266..dd5ac9d6 100644 --- a/util/jsonpointer.lua +++ b/util/jsonpointer.lua @@ -20,7 +20,7 @@ local function resolve_json_pointer(ref, path) if token == "-" then i = #ref + 1 end - new_ref = ref[i] + new_ref = ref[i + 1] else return nil, "invalid-table" end |