diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index b87b6372..b1f109fa 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -61,7 +61,7 @@ const getAnalystEstimate = async (ticker) => { } else { const postData = {'ticker': ticker}; - // make the POST request to the endpoint + const response = await fetch(data?.apiURL + '/analyst-estimate', { method: 'POST', headers: { @@ -217,10 +217,10 @@ $: {