change route for mark as sent

This commit is contained in:
bansarishukla
2019-11-11 18:42:18 +05:30
parent fa95f7a725
commit d82b83adfd
2 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ export const markAsRejected = ({ commit, dispatch, state }, data) => {
export const markAsSent = ({ commit, dispatch, state }, data) => {
return new Promise((resolve, reject) => {
window.axios.post(`/api/estimates/sent`, data).then((response) => {
window.axios.post(`/api/estimates/mark-as-sent`, data).then((response) => {
// commit(types.UPDATE_INVOICE, response.data)
resolve(response)
}).catch((err) => {