Rev 3574 |
Ir a la última revisión |
|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
3520 |
stevensc |
1 |
import { api } from '@shared/libs';
|
|
|
2 |
|
|
|
3 |
export const markSlideCompleted = async (url) => {
|
|
|
4 |
try {
|
|
|
5 |
return await api.post(url);
|
|
|
6 |
} catch (error) {
|
|
|
7 |
console.error(error);
|
|
|
8 |
throw new Error('Error al marcar la lección como completada');
|
|
|
9 |
}
|
|
|
10 |
};
|