fix(lint): RESTManager warning (#4796)

Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com>
This commit is contained in:
Papaia
2020-09-05 21:16:09 +03:00
committed by GitHub
parent 904aecfdb7
commit 5b39737d49

View File

@@ -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;
}