se agregó una relación
This commit is contained in:
@@ -699,7 +699,7 @@ export class ServicioService {
|
||||
// Hacemos una validacion en el nombre
|
||||
const nombreArchivo = `./server/uploads/${this.validacionService.validacionBasicaStr(file.filename, 'archivo', true, 1000)}`;
|
||||
|
||||
const archivoPath = `./server/uploads/${nombreArchivo}`;
|
||||
const archivoPath = nombreArchivo;
|
||||
|
||||
// Validacion de tipo de archivo
|
||||
if (file.mimetype !== 'application/pdf') {
|
||||
|
||||
Reference in New Issue
Block a user