From 8a9848879ca762b6b3d0d9e3a55017cd6a9ab2c3 Mon Sep 17 00:00:00 2001 From: Maryna Iholnykova Date: Thu, 7 Sep 2023 16:00:17 +0200 Subject: [PATCH] update event type --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a2e6247..79911ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -47,5 +47,5 @@ export const handler = ({ payload, client }: MCEvent) => { } export default async function (manager: Manager) { - manager.addEventListener('pageview', handler) + manager.addEventListener('event', handler) }