Skip to content
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

force api key to be a string #478

Merged

Conversation

daniel-cohere
Copy link
Collaborator

What's being changed:

Connector_api_key is being forced to a string now. If the env contains only digits, it becomes a number which will never match the bearer token comparison.

How did you test this change (include any code snippets, API requests, screenshots, or gifs):

@daniel-cohere daniel-cohere requested a review from a team as a code owner May 8, 2024 20:34
@daniel-cohere daniel-cohere merged commit 7fbde16 into main May 8, 2024
3 checks passed
@daniel-cohere daniel-cohere deleted the daniel/pts-6784-quickstart-connector-small-fixes branch May 8, 2024 20:37
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