summaryrefslogtreecommitdiff
path: root/examples/ssr/src/components/Header.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ssr/src/components/Header.astro')
-rw-r--r--examples/ssr/src/components/Header.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ssr/src/components/Header.astro b/examples/ssr/src/components/Header.astro
index c4d925a5f..426fb4be5 100644
--- a/examples/ssr/src/components/Header.astro
+++ b/examples/ssr/src/components/Header.astro
@@ -3,7 +3,7 @@ import TextDecorationSkip from './TextDecorationSkip.astro';
import Cart from './Cart.svelte';
import { getCart } from '../api';
-const cart = await getCart();
+const cart = await getCart(Astro.request);
const cartCount = cart.items.reduce((sum, item) => sum + item.count, 0);
---
<style>