kopia lustrzana https://github.com/bugout-dev/moonstream
Add slash
rodzic
2440f35c95
commit
f071c06a7b
|
@ -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/`,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue