From 9aed5ff2edf26e6fb0af6f3df0f9a638eb5570e7 Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 30 Mar 2026 17:09:44 +0200 Subject: [PATCH] fix: ICS export auth token key (auth_token not token) --- client/src/components/Planner/DayPlanSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Planner/DayPlanSidebar.tsx b/client/src/components/Planner/DayPlanSidebar.tsx index 320484e..91898ff 100644 --- a/client/src/components/Planner/DayPlanSidebar.tsx +++ b/client/src/components/Planner/DayPlanSidebar.tsx @@ -718,7 +718,7 @@ export default function DayPlanSidebar({ onClick={async () => { try { const res = await fetch(`/api/trips/${tripId}/export.ics`, { - headers: { 'Authorization': `Bearer ${localStorage.getItem('token')}` }, + headers: { 'Authorization': `Bearer ${localStorage.getItem('auth_token')}` }, }) if (!res.ok) throw new Error() const blob = await res.blob()