nuevos cuestionarios de programa y alumno, sql de update, falta revisar el proceso de servicio para actualizar el get de los id cuestionarios
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const helperPath = '../../helper';
|
||||
const drive = require(`${helperPath}/drive`);
|
||||
// const drive = require(`${helperPath}/drive`);
|
||||
const validar = require(`${helperPath}/validar`);
|
||||
const dbPath = '../../db/tablas';
|
||||
const Carrera = require(`${dbPath}/Carrera`);
|
||||
@@ -63,14 +63,14 @@ const nuevo = async (body, file) => {
|
||||
where: { idUsuario },
|
||||
});
|
||||
})
|
||||
.then(async (res) => {
|
||||
/* .then(async (res) => {
|
||||
if (res) throw new Error('Este alumno ya tienen un Caso Especial.');
|
||||
return drive.folder(numeroCuenta);
|
||||
})
|
||||
.then((res) => {
|
||||
carpeta = res;
|
||||
return drive.uploadFile(path, `archivos.zip`, 'application/zip', carpeta);
|
||||
})
|
||||
}) */
|
||||
.then((res) =>
|
||||
CasoEspecial.create({
|
||||
idUsuario,
|
||||
|
||||
Reference in New Issue
Block a user