mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-09-07 21:21:22 +00:00
Pass calendar event UID to Trilium
This commit is contained in:
parent
d92a369bc2
commit
63aea33a9e
@ -150,6 +150,7 @@ async fn process_one(update: Update, reminder_msg: &mut MessageId, reminder_text
|
||||
return Ok(());
|
||||
}
|
||||
if CLIENT.get("http://localhost:9001/custom/new_event").form(&json!({
|
||||
"uid": calendar.events[0].uid,
|
||||
"name": calendar.events[0].summary,
|
||||
"summary": calendar.events[0].description_html.as_deref().unwrap_or(&calendar.events[0].description),
|
||||
"fileName": document.file_name,
|
||||
|
Loading…
Reference in New Issue
Block a user