This commit is contained in:
Adrian Amaglio 2023-08-01 17:53:38 +02:00
parent 934854f39f
commit bc83e37cdd

View File

@ -974,7 +974,8 @@
remote: {
urlLoad: 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,
}
}