diff options
| author | Zeyla Hellyer <[email protected]> | 2018-08-13 13:01:15 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-08-13 13:01:15 -0700 |
| commit | 30a325ea840755cf74f376657d9a1e9ac363e92e (patch) | |
| tree | 8c616411cb74c580358ccd8a9d2d267b0f0e2ed8 /src/http | |
| parent | Release v0.5.8 (diff) | |
| download | serenity-30a325ea840755cf74f376657d9a1e9ac363e92e.tar.xz serenity-30a325ea840755cf74f376657d9a1e9ac363e92e.zip | |
Fix routing for http::create_private_channel
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs index d9a6a62..82368f4 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -390,7 +390,7 @@ pub fn create_private_channel(map: &Value) -> Result<PrivateChannel> { fire(Request { body: Some(&body), headers: None, - route: RouteInfo::GetUserDmChannels, + route: RouteInfo::CreatePrivateChannel, }) } |