diff --git a/kong/db/declarative/export.lua b/kong/db/declarative/export.lua index acbd0f225d78..e20d3c1d8469 100644 --- a/kong/db/declarative/export.lua +++ b/kong/db/declarative/export.lua @@ -363,7 +363,7 @@ local sync_emitter = { emit_entity = function(self, entity_name, entity_data) self.out_n = self.out_n + 1 - self.out[self.out_n] = { type = entity_name , row = entity_data, version = self.sync_version, + self.out[self.out_n] = { type = entity_name , entity = entity_data, version = self.sync_version, ws_id = kong.default_workspace, } end,