From d3a3811c0732058c8ea44c86fcb557789a792b6c Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 13 Jan 2026 22:26:40 -0300 Subject: [PATCH] Fix duplicate route /api/calendar/calendars causing panic --- src/calendar/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calendar/mod.rs b/src/calendar/mod.rs index 61628bf3..49f36ba4 100644 --- a/src/calendar/mod.rs +++ b/src/calendar/mod.rs @@ -1008,7 +1008,6 @@ pub fn configure_calendar_routes() -> Router> { .route("/api/calendar/calendars/:id/import", post(import_ical)) .route(ApiUrls::CALENDAR_EVENTS, get(list_events).post(create_event)) .route(ApiUrls::CALENDAR_EVENT_BY_ID, get(get_event).put(update_event).delete(delete_event)) - .route(ApiUrls::CALENDAR_CALENDARS_JSON, get(list_calendars_api)) .route(ApiUrls::CALENDAR_UPCOMING_JSON, get(upcoming_events_api)) .route(ApiUrls::CALENDAR_CALENDARS, get(list_calendars_html)) .route(ApiUrls::CALENDAR_UPCOMING, get(upcoming_events_html))