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 committed Oct 2, 2023
1 parent 669ccfc commit 5588a27
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 @@ -1692,7 +1692,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 5588a27

Please sign in to comment.