We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7428cae commit ded7305Copy full SHA for ded7305
posthog/client.py
@@ -2269,9 +2269,9 @@ def _setup_sse_connection(self):
2269
# Use requests with stream=True for SSE
2270
import requests # type: ignore[import-untyped]
2271
2272
- url = f"{self.host}/flags/definitions/stream?api_key={self.api_key}"
+ url = f"{self.host}/flags/definitions/stream"
2273
headers = {
2274
- "Authorization": f"Bearer {self.personal_api_key}",
+ "Authorization": f"Bearer {self.api_key}",
2275
"Accept": "text/event-stream",
2276
}
2277
0 commit comments