mod_rest/mod_rest.lua
changeset 4959 537054999093
parent 4947 e67cc71727ca
child 4992 732229fe68ab
--- a/mod_rest/mod_rest.lua	Sat May 28 16:43:04 2022 +0200
+++ b/mod_rest/mod_rest.lua	Sun May 29 02:02:07 2022 +0200
@@ -305,6 +305,7 @@
 		end
 		from = jid.join(origin.username, origin.host, origin.resource);
 		origin.type = "c2s";
+		origin.log = module._log;
 	end
 	local payload, err = parse_request(request, path);
 	if not payload then