diff --git a/homegrown/email/src/main.rs b/homegrown/email/src/main.rs index 0401b8a..b3bc8b4 100644 --- a/homegrown/email/src/main.rs +++ b/homegrown/email/src/main.rs @@ -1,5 +1,12 @@ use std::collections::HashMap; + +struct Channel { + id: String, + name: String, + type: String +} + #[tokio::main] async fn main() -> Result<(), Box> { //getting the list of channels with id's first diff --git a/static/yters.json b/static/yters.json index c18d978..c4c6695 100644 --- a/static/yters.json +++ b/static/yters.json @@ -1,5 +1,5 @@ { - "squibquib":"UC-9-sjOyxoDCdQlVzObzGsw", - "sinixdesign":"UCUQTqWAaSzhAKRanOpes1nA", - "misshapenchair": "" + "squibquib":{ "id": "UC-9-sjOyxoDCdQlVzObzGsw", "type": "letsplay"}, + "sinixdesign":{ "id":"UCUQTqWAaSzhAKRanOpes1nA" , "type": "art"}, + "misshapenchair":{ "id": "", "type": "essay"} }