diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index 657dcd9a..f7d4a702 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -227,7 +227,7 @@ function service:get_items(node, actor, id) return false, "item-not-found"; end if id then -- Restrict results to a single specific item - return true, { node_obj.data[id] }; + return true, { [id] = node_obj.data[id] }; else return true, node_obj.data; end |