-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
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 */);
}
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());
}
Metadata
Metadata
Assignees
Labels
No labels