diff options
| author | Adelyn <[email protected]> | 2018-08-17 09:22:43 -0700 |
|---|---|---|
| committer | zeyla <[email protected]> | 2018-08-17 09:22:43 -0700 |
| commit | ebbc32438e1cca94da80b00ae753e3cde86fb73f (patch) | |
| tree | e214c8e86ee2aafa58129448b1e6a5251b3bbde3 /src/http | |
| parent | Fix GuildChannel::_permissions_for on no-cache (diff) | |
| download | serenity-ebbc32438e1cca94da80b00ae753e3cde86fb73f.tar.xz serenity-ebbc32438e1cca94da80b00ae753e3cde86fb73f.zip | |
Change HTTP Bulk Delete from DELETE to POST
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/routing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/routing.rs b/src/http/routing.rs index 52be61c..d1d4bc6 100644 --- a/src/http/routing.rs +++ b/src/http/routing.rs @@ -1045,7 +1045,7 @@ impl<'a> RouteInfo<'a> { Cow::from(Route::channel_message(channel_id, message_id)), ), RouteInfo::DeleteMessages { channel_id } => ( - LightMethod::Delete, + LightMethod::Post, Route::ChannelsIdMessagesBulkDelete(channel_id), Cow::from(Route::channel_messages_bulk_delete(channel_id)), ), |