Skip to content

Commit

Permalink
chore: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aanshi07 committed Oct 22, 2024
1 parent 44496ab commit dad2d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/tune/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const mapPropertiesWithNestedSupport = (msg, properties, mappings) => {
Object.entries(mappings).forEach(([key, value]) => {
const keyStr = `${key}`;
const args = { object: properties, key: keyStr };
if (key.split('.').length > 1) {
if (args.key.split('.').length > 1) {
// Handle nested keys
args.object = msg; // This line modifies the object property of args
}
Expand Down

0 comments on commit dad2d3c

Please sign in to comment.