display returned message
This commit is contained in:
@@ -52,7 +52,7 @@ export const uploadAcceptance = (idEntry, file) => {
|
||||
url: `${API_SERVER}/wp-json/wiaas/customer-acceptance/${idEntry}/upload-file`
|
||||
}).then(response => {
|
||||
if (typeof response.data !== 'undefined') {
|
||||
//dispatch(updateMessages(response.data.messages, orderMessages));
|
||||
dispatch(updateMessages(response.data.messages, orderMessages));
|
||||
dispatch(fetchCustomerAcceptance(idEntry));
|
||||
}
|
||||
}).catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user