Ir a la última revisión |
|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
3661 |
stevensc |
1 |
import { api } from '@shared/libs';
|
|
|
2 |
|
|
|
3 |
export const getProfile = async () => {
|
|
|
4 |
try {
|
|
|
5 |
return await api.get('/microlearning/profile');
|
|
|
6 |
} catch (error) {
|
|
|
7 |
console.error(error);
|
|
|
8 |
throw new Error('Error al obtener el perfil');
|
|
|
9 |
}
|
|
|
10 |
};
|