Update api add drp penyusunan
This commit is contained in:
parent
3f0aafc0e9
commit
2f1cf9b146
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user