Closed variable closed 6 years ago
When I am sending patch request as below:
Vue.http.patch('/api/todos/'+todo.uuid+'/', {completed_at: todo.completed_at}).then(response => { context.dispatch('load_data') });
browser console tells me the request payload is {}
Expected payload to be {completed_at: '2018xxxxxxxxx'}
Turned out to be a problem on my side, todo.completed_at is undefined.
When I am sending patch request as below:
browser console tells me the request payload is {}
What is Expected?
Expected payload to be {completed_at: '2018xxxxxxxxx'}