mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-01 18:21:52 +02:00
📈 Update posthog (#1234)
This commit is contained in:
parent
4021c214fa
commit
d4b41ab88d
3 changed files with 130 additions and 11 deletions
|
@ -65,8 +65,8 @@
|
|||
"next-i18next": "^13.0.3",
|
||||
"php-serialize": "^4.1.1",
|
||||
"postcss": "^8.4.31",
|
||||
"posthog-js": "^1.148.0",
|
||||
"posthog-node": "^3.6.0",
|
||||
"posthog-js": "^1.154.0",
|
||||
"posthog-node": "^4.0.1",
|
||||
"react-big-calendar": "^1.8.1",
|
||||
"react-hook-form": "^7.42.1",
|
||||
"react-hook-form-persist": "^3.0.0",
|
||||
|
|
|
@ -18,7 +18,7 @@ export const posthog = PostHogClient();
|
|||
|
||||
export function posthogApiHandler() {
|
||||
try {
|
||||
waitUntil(Promise.all([posthog?.shutdownAsync()]));
|
||||
waitUntil(Promise.all([posthog?.shutdown()]));
|
||||
} catch (error) {
|
||||
console.error("Failed to flush PostHog events:", error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue