refactor(util): update endpoints (#383)

* Update constants.ts

* fiiiixxxx

* dupe

* Update src/util/constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* USER_DM

* fix this and remove that

* Update src/util/constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update constants.ts

* Update src/util/constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update src/util/constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* need these

* hmm

* rename GUILD_EMBED to GUILD_WIDGET

* idk

* Update src/util/constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update constants.ts

* Update constants.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>
This commit is contained in:
ITOH
2021-01-17 17:34:34 +01:00
committed by GitHub
parent b4cfeb7fbd
commit 8b663ca4de
5 changed files with 122 additions and 99 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ export async function editChannel(
};
return RequestManager.patch(
endpoints.GUILD_CHANNEL(channelID),
endpoints.CHANNEL_BASE(channelID),
{
...payload,
reason,