Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
chore: Updates Posthog endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Sep 17, 2023
1 parent b61aba1 commit 932b474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AnalyticsClient:
def __init__(self, ph_api_key: Union[str, None] = None) -> None:
self.is_enabled = isinstance(ph_api_key, str)
if isinstance(ph_api_key, str):
self.ph_client = Posthog(project_api_key=ph_api_key, host="https://app.posthog.com")
self.ph_client = Posthog(project_api_key=ph_api_key, host="https://eu.posthog.com")
logger.info("PostHog enabled")

def capture(self, *args, **kwargs) -> None:
Expand Down

0 comments on commit 932b474

Please sign in to comment.