mod_rest/jsonmap.lib.lua
changeset 3852 1b9834500123
parent 3827 31b1797a78e1
child 3853 11c34e97fe1a
--- a/mod_rest/jsonmap.lib.lua	Sun Jan 19 19:31:43 2020 +0100
+++ b/mod_rest/jsonmap.lib.lua	Sat Jan 25 00:17:44 2020 +0100
@@ -60,7 +60,7 @@
 			if type(s) == "table" then
 				disco.attr.node = tostring(s.node);
 				if s.identities then
-					for identity in ipairs(s.identities) do
+					for _, identity in ipairs(s.identities) do
 						disco:tag("identity", { category = identity[1], type = identity[2] }):up();
 					end
 				end