Skip to content

Remove token from local_evaluation API call #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2025

Conversation

haacked
Copy link
Collaborator

@haacked haacked commented May 3, 2025

It's not used nor needed.

Also added some docs on local evaluation.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Optimized local evaluation feature flag handling by removing redundant token parameter and enhancing documentation for API key management.

  • Removed unnecessary token parameter from /api/feature_flag/local_evaluation endpoint in src/PostHog/Api/PostHogApiClient.cs
  • Added local evaluation setup instructions in src/PostHog.AspNetCore/README.md for development and production environments
  • Included security guidance for API key management using user secrets and environment variables

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@haacked haacked force-pushed the haacked/fix-local-evaluation branch from 8e6263e to b9084b7 Compare May 3, 2025 22:07
@haacked haacked merged commit f18f328 into main May 3, 2025
4 checks passed
@haacked haacked deleted the haacked/fix-local-evaluation branch May 3, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant