Skip to content

Commit

Permalink
chore: fix code smells, lexical declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayteki95 committed Feb 18, 2025
1 parent 6bfbac4 commit f136015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sources/extole/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ function processEvent(event) {
break;
default:
message.setEventName(event.type);
let messageProperties = {};
messageProperties = extractCustomFields(event, messageProperties, 'root', ['type']);
const messageProperties = extractCustomFields(event, {}, 'root', ['type']);
message.setProperty('properties', messageProperties);
}

Expand Down

0 comments on commit f136015

Please sign in to comment.