Skip to content

Commit

Permalink
fix declarative export sync
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 24, 2024
1 parent 02205bf commit 9b083b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong/db/declarative/export.lua
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ 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 , row = entity_data, version = self.sync_version,
ws_id = kong.default_workspace, }
end,

done = function(self)
Expand Down

0 comments on commit 9b083b5

Please sign in to comment.