diff --git a/src/lib/components/CommunitySentiment.svelte b/src/lib/components/CommunitySentiment.svelte index 3870b1a8..d819226c 100644 --- a/src/lib/components/CommunitySentiment.svelte +++ b/src/lib/components/CommunitySentiment.svelte @@ -34,7 +34,7 @@ async function updateSentiment(sentiment:string) { const response = await fetch('/api/community-sentiment', { method: 'POST', headers: { - "Content-Type": "application/json","X-API-KEY": apiKey + "Content-Type": "application/json" }, body: JSON.stringify(postData), }); // make a POST request to the server with the FormData object diff --git a/src/lib/components/Correlation.svelte b/src/lib/components/Correlation.svelte index f6d58258..9fcab905 100644 --- a/src/lib/components/Correlation.svelte +++ b/src/lib/components/Correlation.svelte @@ -1,13 +1,11 @@