diff --git a/src/components/ConeSearch.vue b/src/components/ConeSearch.vue index bf77074..dd747cc 100644 --- a/src/components/ConeSearch.vue +++ b/src/components/ConeSearch.vue @@ -104,8 +104,8 @@ async function callApi(ra: string, dec: string, { radius, units }: { radius: num // turn on loading flag loading.value = true; - const endpoint = import.meta.env.VITE_API_URL + `/query/cone?ra=${ra}&dec=${dec}&radius=${radius}&units=${units}` - await axios.get(endpoint) + const endpoint = import.meta.env.VITE_API_URL + `/query/cone?ra=${ra}&dec=${dec}&radius=${radius}&units=${units}&release=${store.release}`; + await axios.get(endpoint, {headers: store.get_auth_hdr()}) .then(response => { // Handle the response data diff --git a/src/components/ParentCatalog.vue b/src/components/ParentCatalog.vue index a3249aa..52c080e 100644 --- a/src/components/ParentCatalog.vue +++ b/src/components/ParentCatalog.vue @@ -92,6 +92,10 @@