aboutsummaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-24 07:24:42 +0200
committeracdenisSK <[email protected]>2017-07-24 07:24:42 +0200
commitbd05bdad1765ad2038dcc4650e1ad4da8a2e020c (patch)
tree9fc7345ad5de0a56d4b4dee374285af0945d2e7d /src/http
parentRevert the ignoring of protocol and data frame errors, while actually handlin... (diff)
downloadserenity-bd05bdad1765ad2038dcc4650e1ad4da8a2e020c.tar.xz
serenity-bd05bdad1765ad2038dcc4650e1ad4da8a2e020c.zip
Remove the code meant for debugging
"Meant" as in, the data frame errors and whatever shenanigans weren't allowing me to
Diffstat (limited to 'src/http')
-rw-r--r--src/http/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs
index 71b5885..850f800 100644
--- a/src/http/mod.rs
+++ b/src/http/mod.rs
@@ -295,9 +295,7 @@ pub fn create_permission(channel_id: u64, target_id: u64, map: &Value) -> Result
/// Creates a private channel with a user.
pub fn create_private_channel(map: &Value) -> Result<PrivateChannel> {
- info!("{:?}", map);
let body = map.to_string();
- info!("{}", body);
let response = request!(Route::UsersMeChannels,
post(body),
"/users/@me/channels");