mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
Fix insert_calendar: subscription_url not saved
This commit is contained in:
@@ -144,14 +144,15 @@ impl SqliteCalendarStore {
|
|||||||
let comp_journal = calendar.components.contains(&CalendarObjectType::Journal);
|
let comp_journal = calendar.components.contains(&CalendarObjectType::Journal);
|
||||||
|
|
||||||
sqlx::query!(
|
sqlx::query!(
|
||||||
r#"INSERT INTO calendars (principal, id, displayname, description, "order", color, timezone, timezone_id, push_topic, comp_event, comp_todo, comp_journal)
|
r#"INSERT INTO calendars (principal, id, displayname, description, "order", color, subscription_url, timezone, timezone_id, push_topic, comp_event, comp_todo, comp_journal)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"#,
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"#,
|
||||||
calendar.principal,
|
calendar.principal,
|
||||||
calendar.id,
|
calendar.id,
|
||||||
calendar.displayname,
|
calendar.displayname,
|
||||||
calendar.description,
|
calendar.description,
|
||||||
calendar.order,
|
calendar.order,
|
||||||
calendar.color,
|
calendar.color,
|
||||||
|
calendar.subscription_url,
|
||||||
calendar.timezone,
|
calendar.timezone,
|
||||||
calendar.timezone_id,
|
calendar.timezone_id,
|
||||||
calendar.push_topic,
|
calendar.push_topic,
|
||||||
|
|||||||
Reference in New Issue
Block a user