diff --git a/src/pages/portfolio/usePortfolioApi.js b/src/pages/portfolio/usePortfolioApi.js index c18117d..9533521 100644 --- a/src/pages/portfolio/usePortfolioApi.js +++ b/src/pages/portfolio/usePortfolioApi.js @@ -4,8 +4,8 @@ const BASE = '/api/profile'; async function apiFetch(path, options = {}) { const res = await fetch(`${BASE}${path}`, { - headers: { 'Content-Type': 'application/json', ...options.headers }, ...options, + headers: { 'Content-Type': 'application/json', ...options.headers }, }); if (!res.ok) { const err = await res.json().catch(() => ({ detail: res.statusText }));