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

Client initializes with empty APIKey in config #65

Closed
mdjoo0810 opened this issue Jun 14, 2024 · 0 comments
Closed

Client initializes with empty APIKey in config #65

mdjoo0810 opened this issue Jun 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mdjoo0810
Copy link

mdjoo0810 commented Jun 14, 2024

Expected Behavior

The client should not initialize if the APIKey is empty.

Current Behavior

The client initializes successfully even when the APIKey is empty.

Possible Solution

Implement a validation check in the initialization function to ensure that the APIKey is not empty before proceeding with the initialization.

Steps to Reproduce

  1. Configure the client with an empty APIKey.
  2. Initialize the client.
  3. Observe that the client initializes without any error or warning.

Environment

  • SDK Version: v1.0.1
  • Go Version: 1.22.0
  • OS Info: Ubuntu 20.04
@mdjoo0810 mdjoo0810 added the bug Something isn't working label Jun 14, 2024
@mdjoo0810 mdjoo0810 reopened this Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant