lets try
This commit is contained in:
parent
934854f39f
commit
bc83e37cdd
@ -974,7 +974,8 @@
|
|||||||
remote: {
|
remote: {
|
||||||
urlLoad: projectEndpoint,
|
urlLoad: projectEndpoint,
|
||||||
urlStore: projectEndpoint,
|
urlStore: projectEndpoint,
|
||||||
fetchOptions: opts => (opts.method === 'POST' ? { method: 'PATCH' } : {}), onStore: data => ({ id: 1, data }),
|
fetchOptions: opts => (opts.method === 'POST' ? { method: 'PATCH' } : {}),
|
||||||
|
onStore: data => ({ id: 1, data }),
|
||||||
onLoad: result => result.data,
|
onLoad: result => result.data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user