Skip to content

Comments

Remove token from local_evaluation API call#76

Merged
haacked merged 2 commits intomainfrom
haacked/fix-local-evaluation
May 3, 2025
Merged

Remove token from local_evaluation API call#76
haacked merged 2 commits intomainfrom
haacked/fix-local-evaluation

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