From 6316fcec92acffcd6cfb56a43686db9938dccf48 Mon Sep 17 00:00:00 2001 From: lemuel Date: Wed, 17 Aug 2022 18:27:40 -0500 Subject: [PATCH] error hora tope --- src/app.gateway.ts | 8 ++++---- src/prestamo/prestamo.service.ts | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app.gateway.ts b/src/app.gateway.ts index 8697a5e..30e4317 100644 --- a/src/app.gateway.ts +++ b/src/app.gateway.ts @@ -10,14 +10,14 @@ import { Socket, Server } from 'socket.io'; @WebSocketGateway({ cors: { origin: [ - // 'http://localhost:3176', - // 'http://localhost:3186', + 'http://localhost:3176', + 'http://localhost:3186', // 'http://132.248.80.196:3155', // 'http://132.248.80.196:3185', // 'https://pmodulospcpuma.unam.mx', // 'https://pmodulospcpuma.unam.mx:3015', - 'https://modulospcpuma.unam.mx', - 'https://modulospcpuma.unam.mx:3015', + // 'https://modulospcpuma.unam.mx', + // 'https://modulospcpuma.unam.mx:3015', ], }, }) diff --git a/src/prestamo/prestamo.service.ts b/src/prestamo/prestamo.service.ts index ad3c70b..5f8d927 100644 --- a/src/prestamo/prestamo.service.ts +++ b/src/prestamo/prestamo.service.ts @@ -192,7 +192,6 @@ export class PrestamoService { throw new ConflictException( 'No hay un equipo de cómputo que cumpla con las caracteríasticas solicitadas o ya no hay equipos disponibles en este momento. Intenta más tarde o cambia las características.', ); - console.log('hola'); return this.equipoService.update(equipo, null, 2); }) .then(({ equipo }) =>