mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(lint): RESTManager warning (#4796)
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user