Skip to content

Commit 0df99ea

Browse files
committed
tweak
1 parent d6e4a65 commit 0df99ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posthog/request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def decide(api_key: str, host: Optional[str] = None, gzip: bool = False, timeout
8181
return _process_response(res, success_message="Feature flags decided successfully")
8282

8383

84-
def remote_config(api_key: str, host: Optional[str] = None, key: str = "", timeout: int = 15) -> Any:
84+
def remote_config(personal_api_key: str, host: Optional[str] = None, key: str = "", timeout: int = 15) -> Any:
8585
"""Get remote config flag value from remote_config API endpoint"""
86-
return get(api_key, f"/api/projects/@current/feature_flags/{key}/remote_config/", host, timeout)
86+
return get(personal_api_key, f"/api/projects/@current/feature_flags/{key}/remote_config/", host, timeout)
8787

8888

8989
def batch_post(

0 commit comments

Comments
 (0)