handle order actions
This commit is contained in:
@@ -19,7 +19,7 @@ export const fetchNextActions = () => {
|
||||
return dispatch => {
|
||||
dispatch(requestNextActions());
|
||||
return client.fetch({
|
||||
url: `${API_SERVER}/wp-json/wiaas/next-delivery-steps`
|
||||
url: `${API_SERVER}/wp-json/wiaas/delivery/next-actions`
|
||||
})
|
||||
.then(response => dispatch(recieveNextActions(response.data)))
|
||||
.catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user