aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'teal-src/prosody')
-rw-r--r--teal-src/prosody/util/jsonpointer.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/teal-src/prosody/util/jsonpointer.tl b/teal-src/prosody/util/jsonpointer.tl
index af29bda0..5ea99732 100644
--- a/teal-src/prosody/util/jsonpointer.tl
+++ b/teal-src/prosody/util/jsonpointer.tl
@@ -9,7 +9,7 @@ local function unescape_token(escaped_token : string) : string
return unescaped
end
-local function resolve_json_pointer(ref : table, path : string) : any, ptr_error
+local function resolve_json_pointer(ref : any, path : string) : any, ptr_error
local ptr_len = #path+1
for part, pos in path:gmatch("/([^/]*)()") do
local token = unescape_token(part)