🐛 dashdot params on api call

🐛 dashdot params on api call
This commit is contained in:
Raphaël Catarino
2022-09-12 17:46:46 +02:00
committed by Thomas "ajnart" Camlong
parent 646bcf0a28
commit f7c976e6e7

View File

@@ -98,7 +98,7 @@ const useJson = (targetUrl: string, url: string) => {
const doRequest = async () => { const doRequest = async () => {
try { try {
const resp = await axios.get(`/api/modules/dashdot?url=${url}&base=${targetUrl}`); const resp = await axios.get('/api/modules/dashdot',{ params: { url, base: targetUrl } });
setData(resp.data); setData(resp.data);
// eslint-disable-next-line no-empty // eslint-disable-next-line no-empty