mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-11-08 13:20:37 +00:00
More debug logging
This commit is contained in:
parent
75820081fe
commit
15366b8345
@ -30,6 +30,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
.json(&hashmap!{ "username" => &trilium_user, "password" => &trilium_password })
|
.json(&hashmap!{ "username" => &trilium_user, "password" => &trilium_password })
|
||||||
.send().await.unwrap().json().await.unwrap();
|
.send().await.unwrap().json().await.unwrap();
|
||||||
let trilium_token = &resp["token"];
|
let trilium_token = &resp["token"];
|
||||||
|
println!("Acquired token: {}", trilium_token);
|
||||||
|
|
||||||
println!("Init done!");
|
println!("Init done!");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user