From 8be5547d9e90fc30b6f79b914f6c9d10474c06cf Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 7 Apr 2021 20:24:31 -0700 Subject: [PATCH] fixed channel api type --- tui/src/api_types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tui/src/api_types.rs b/tui/src/api_types.rs index 928b417..f38e26c 100644 --- a/tui/src/api_types.rs +++ b/tui/src/api_types.rs @@ -17,11 +17,11 @@ pub struct Message { } -#[derive(Clone)] +#[derive(Deserialize, Clone)] pub struct Channel { pub name: String, pub id: u64, - pub r#type: i32, + pub kind: i32, pub description: Option, }