From a44cbeb687f1d363a53e7a0e12176e3f6857ce4d Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:21:37 +0100 Subject: [PATCH] add comment --- crates/store_sqlite/src/calendar_store.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/store_sqlite/src/calendar_store.rs b/crates/store_sqlite/src/calendar_store.rs index aed9899..d41433a 100644 --- a/crates/store_sqlite/src/calendar_store.rs +++ b/crates/store_sqlite/src/calendar_store.rs @@ -238,6 +238,7 @@ impl CalendarStore for SqliteStore { ics ) } else { + // If the object already exists a database error is thrown and handled in error.rs sqlx::query!( "INSERT INTO calendarobjects (principal, cal_id, id, ics) VALUES (?, ?, ?, ?)", principal,