Skip to content

Commit

Permalink
fix(Client): wrong request url in editGuildWidget (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
MertBhey authored and TTtie committed Jan 9, 2024
1 parent 18056f7 commit 9f8de6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ class Client extends EventEmitter {
* @returns {Promise<Object>} A guild widget object
*/
editGuildWidget(guildID, options) {
return this.requestHandler.request("PATCH", Endpoints.GUILD_WIDGET(guildID), true, options);
return this.requestHandler.request("PATCH", Endpoints.GUILD_WIDGET_SETTINGS(guildID), true, options);
}

/**
Expand Down

0 comments on commit 9f8de6f

Please sign in to comment.