From 3575a1063444f3d74f53fec8ece5e69b276f8f7e Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 29 Mar 2022 13:18:35 +0000 Subject: [PATCH] [ci] format --- examples/ssr/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ssr/src/api.ts b/examples/ssr/src/api.ts index 8a903b217..82c82a190 100644 --- a/examples/ssr/src/api.ts +++ b/examples/ssr/src/api.ts @@ -60,7 +60,7 @@ export async function getCart(incomingReq: Request): Promise { }); } -export async function addToUserCart( id: number | string, name: string): Promise { +export async function addToUserCart(id: number | string, name: string): Promise { await fetch(`${location.origin}/api/cart`, { credentials: 'same-origin', method: 'POST',