mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
update http options to fit discord spec (#1656)
* Update Constants.js * Update APIRequest.js * Update Invite.js * Update Constants.js
This commit is contained in:
@@ -136,7 +136,7 @@ class Invite {
|
||||
* @readonly
|
||||
*/
|
||||
get url() {
|
||||
return Constants.Endpoints.invite(this.code);
|
||||
return Constants.Endpoints.invite(this.client.options.http.invite, this.code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user