diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-08 18:06:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-08 18:06:41 +0200 |
commit | 1c6747f200505db7900204a9297b97c82c959df1 (patch) | |
tree | b73fc162210693217cefb6c7521224988679f351 /util | |
parent | 71dc755f0f20c5dd2ad6ed76a8ae791bae16a8b1 (diff) | |
parent | d05af9f2b54d292b49b694d8317152f4339f7076 (diff) | |
download | prosody-1c6747f200505db7900204a9297b97c82c959df1.tar.gz prosody-1c6747f200505db7900204a9297b97c82c959df1.zip |
Merge 0.12->trunk
Diffstat (limited to 'util')
-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 |