pull/409/head
Andrey Dolgolev 2021-11-15 13:38:37 +02:00
rodzic 2440f35c95
commit f071c06a7b
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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/`,
});
};