We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a RestConnection by passing a Client object, the endpoint URL set in the client is ignored.
Specifically, this call:
public RestConnection(Client client) throws SparkPostException { this(client, "" /* means:set to default endpoint */); }
in https://github.com/SparkPost/java-sparkpost/blob/master/libs/sparkpost-lib/src/main/java/com/sparkpost/transport/RestConnection.java#L78
If the Client has a set endpoint already, that should be honored the passing it to the RestClient instead of targeting the default region. i.e.
public RestConnection(Client client) throws SparkPostException { this(client, client.getBaseUrl()); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When creating a RestConnection by passing a Client object, the endpoint URL set in the client is ignored.
Specifically, this call:
in https://github.com/SparkPost/java-sparkpost/blob/master/libs/sparkpost-lib/src/main/java/com/sparkpost/transport/RestConnection.java#L78
If the Client has a set endpoint already, that should be honored the passing it to the RestClient instead of targeting the default region. i.e.
The text was updated successfully, but these errors were encountered: