chore: simplify URLs

This commit is contained in:
Carlos Valente
2025-05-27 15:38:10 +02:00
committed by arc-alex
parent 7b8445597f
commit b66c19769d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export const reportUrl = `${apiEntryUrl}/report`;
* HTTP request to fetch all reports
*/
export async function fetchReport(): Promise<OntimeReport> {
const res = await axios.get(`${reportUrl}/`);
const res = await axios.get(reportUrl);
return res.data;
}