mirror of
https://github.com/danbulant/discord.js
synced 2026-05-30 04:41:11 +00:00
fix(lint): RESTManager warning (#4796)
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com>
This commit is contained in:
parent
904aecfdb7
commit
5b39737d49
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue