diff options
| author | Mishio595 <[email protected]> | 2018-08-17 10:06:27 -0600 |
|---|---|---|
| committer | Mishio595 <[email protected]> | 2018-08-17 10:06:27 -0600 |
| commit | 270e21a563daddb8690dd0246c2b696793bf104c (patch) | |
| tree | e147c6c4a6de590744bcad34428a4fd4b69c4a85 /src/http/routing.rs | |
| parent | Fix routing for http::create_private_channel (diff) | |
| download | serenity-routing-fixes.tar.xz serenity-routing-fixes.zip | |
Correct the endpoint for bulk-delete to POST from DELETErouting-fixes
Diffstat (limited to 'src/http/routing.rs')
| -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)), ), |