Skip to content

Commit

Permalink
fix insert_entity_for_txn
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 25, 2024
1 parent 53fa0ae commit dfe02b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/db/declarative/import.lua
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ local function insert_entity_for_txn(t, entity_name, item, options)
ws_id = kong.default_workspace
end

local key = unique_field_key(entity_name, ws_id, fname, value_str)
local key = unique_field_key(entity_name, ws_id, fname, value_str or value)
t:set(key, item_key)
end

Expand Down

0 comments on commit dfe02b0

Please sign in to comment.