Merge pull request #410 from bugout-dev/add-slash-for-dashboard

Add slash dashboard
pull/411/head^2
Andrei-Dolgolev 2021-11-15 13:46:18 +02:00 zatwierdzone przez GitHub
commit 28fbb237ee
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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/`,
});
};