Update api add drp penyusunan

This commit is contained in:
Titan Hadiyan 2023-06-01 21:13:46 +07:00
parent 3f0aafc0e9
commit 2f1cf9b146

View File

@ -420,13 +420,13 @@ const dataSource = new CustomStore({
}, },
insert: (values) => { insert: (values) => {
return fetch(URL, { return fetch(URL+'/tahun', {
method: "POST", method: "POST",
body: JSON.stringify(values), body: JSON.stringify(values),
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
}); })
}, },
update: (key, values) => { update: (key, values) => {