Rev 2725 |
Ir a la última revisión |
|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
2722 |
stevensc |
1 |
import { axios } from '@app/utils'
|
|
|
2 |
|
|
|
3 |
export const sendInmail = async (uuid, message) => {
|
|
|
4 |
return axios.post(`/inmail/${uuid}/message`).then((response) => {
|
|
|
5 |
const { success, data } = response.data
|
|
|
6 |
if (!success) throw data
|
|
|
7 |
})
|
|
|
8 |
}
|