aboutsummaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs
index 850f800..71b5885 100644
--- a/src/http/mod.rs
+++ b/src/http/mod.rs
@@ -295,7 +295,9 @@ 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");