diff --git a/src/routes/calculate/[id]/+page.svelte b/src/routes/calculate/[id]/+page.svelte index a8249ec..58f23f3 100644 --- a/src/routes/calculate/[id]/+page.svelte +++ b/src/routes/calculate/[id]/+page.svelte @@ -17,7 +17,7 @@ body: JSON.stringify({ calculationId: data.calc.id }), }); const json = await res.json(); - exportMsg = res.ok ? '✓ Exported to Google Sheets' : `Error: ${json.error}`; + exportMsg = res.ok ? '✓ Exported to Google Sheets' : `Error: ${json.message}`; } catch { exportMsg = 'Export failed — check Sheets config in Settings'; }