Skip to content

Conversation

@danielgnh
Copy link
Owner

This pull request makes a small but important change to the Config class to improve how the API key is set. Now, if no API key is provided during construction, it will automatically use the POLYMARKET_API_KEY from the environment variables if available.

  • Constructor for Config now defaults the apiKey to the value of $_ENV['POLYMARKET_API_KEY'] if no key is passed in, improving configuration flexibility.

@danielgnh danielgnh self-assigned this Dec 12, 2025
@danielgnh danielgnh merged commit 1cf71e4 into main Dec 12, 2025
5 checks passed
@danielgnh danielgnh deleted the feat/api-key-from-env branch December 12, 2025 15:09
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.

2 participants