Skip to content

Commit

Permalink
Merge pull request #6 from managed-components/fix-lint
Browse files Browse the repository at this point in the history
fix lint errors
  • Loading branch information
bjesus authored Jul 19, 2023
2 parents 562877e + 9117fbd commit 8982c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export default async function (manager: Manager, settings: ComponentSettings) {
) => {
const { client } = event
const parsedUserAgent = UAParser(client.userAgent)
let payload = ecomPayload ? ecomPayload : event.payload
const payload = ecomPayload ? ecomPayload : event.payload

// eventData builds the eventData object to be used in the request body

const eventData = {
Expand Down

0 comments on commit 8982c80

Please sign in to comment.