From 4417e2b20c001a179f74ac9d291b932af577b7d0 Mon Sep 17 00:00:00 2001 From: bvanroll Date: Tue, 8 Jul 2025 10:11:11 +0200 Subject: [PATCH] new format --- homegrown/email/src/main.rs | 7 +++++++ static/yters.json | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) 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"} }