mod_rest/jsonmap.lib.lua
changeset 4737 755dd83e9214
parent 4736 607cac9b9393
child 4746 b7df2c61a144
--- a/mod_rest/jsonmap.lib.lua	Wed Oct 27 20:45:28 2021 +0200
+++ b/mod_rest/jsonmap.lib.lua	Wed Oct 27 20:54:54 2021 +0200
@@ -16,6 +16,7 @@
 				copyto.properties[key] = prop;
 			end
 		end
+		schema.properties.message.properties.archive.properties.forward = schema.properties.message.properties.forwarded;
 		schema.properties.message.properties.forwarded.properties.delay = schema._common.delay;
 		schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties;
 		schema._common = nil;