diff --git a/src/rest/RESTManager.js b/src/rest/RESTManager.js index b02ae8122..b1d2f288b 100644 --- a/src/rest/RESTManager.js +++ b/src/rest/RESTManager.js @@ -60,6 +60,10 @@ class RESTManager { return this.push(handler, apiRequest); } + get endpoint() { + return this.client.options.http.api; + } + set endpoint(endpoint) { this.client.options.http.api = endpoint; }