Correcting data provider path

This commit is contained in:
2025-04-26 01:07:08 +02:00
parent e01430f60e
commit 6c3f6c8d03

View File

@@ -96,7 +96,7 @@ export const dataProvider: DataProvider = {
};
},
create: async ({ resource, variables }) => {
const response = await fetch(`${API_URL}/${resource}`, {
const response = await fetch(`${API_URL}/${resource}/`, {
method: "POST",
body: JSON.stringify(variables),
headers: {