diff --git a/frontend/src/core/services/dashboard.service.js b/frontend/src/core/services/dashboard.service.js index b10dc73d..fed37f1e 100644 --- a/frontend/src/core/services/dashboard.service.js +++ b/frontend/src/core/services/dashboard.service.js @@ -5,7 +5,7 @@ const API_URL = process.env.NEXT_PUBLIC_MOONSTREAM_API_URL; export const createDashboard = (data) => { return http({ method: "POST", - url: `${API_URL}/dashboards`, + url: `${API_URL}/dashboards/`, data, }); }; @@ -13,7 +13,7 @@ export const createDashboard = (data) => { export const getDashboardsList = () => { return http({ method: "GET", - url: `${API_URL}/dashboards`, + url: `${API_URL}/dashboards/`, }); };