Skip to content

Commit 9df36c0

Browse files
committed
tweak
1 parent fb963b0 commit 9df36c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posthog/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ 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, flag_id: int | str = "", timeout: int = 15) -> Any:
84+
def remote_config(api_key: str, host: Optional[str] = None, flag_id: int = 0, timeout: int = 15) -> Any:
8585
"""Get remote config flag value from remote_config API endpoint"""
8686
return get(api_key, f"/api/projects/@current/feature_flags/{flag_id}/remote_config/", host, timeout)
8787

0 commit comments

Comments
 (0)