diff --git a/src/index.ts b/src/index.ts index ceed860..fd770e8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,10 +38,8 @@ export default async function (manager: Manager, settings: ComponentSettings) { ecomPayload?: any ) => { const { client } = event - let { payload } = event const parsedUserAgent = UAParser(client.userAgent) const payload = ecomPayload ? ecomPayload : event.payload - // eventData builds the eventData object to be used in the request body const eventData = {