From 636b68d44f364a6251eace9e6523f74af8a99856 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sun, 3 Mar 2024 14:02:09 +0200 Subject: [PATCH] fix reports view page --- pages/cart/reports/list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/cart/reports/list.tsx b/pages/cart/reports/list.tsx index b0a9a0c..d16e9a2 100644 --- a/pages/cart/reports/list.tsx +++ b/pages/cart/reports/list.tsx @@ -43,7 +43,7 @@ export default function Reports() { const { data } = await axiosInstance.get("/api/data/locations"); setLocations(data); console.log(data); - axiosInstance.get(`api/data/reports`) + axiosInstance.get(`/api/data/reports`) .then((res) => { let reports = res.data; reports.forEach((report) => {