error hora tope

This commit is contained in:
lemuel 2022-08-17 18:27:40 -05:00
parent 3e05fee249
commit 6316fcec92
2 changed files with 4 additions and 5 deletions

View File

@ -10,14 +10,14 @@ import { Socket, Server } from 'socket.io';
@WebSocketGateway({ @WebSocketGateway({
cors: { cors: {
origin: [ origin: [
// 'http://localhost:3176', 'http://localhost:3176',
// 'http://localhost:3186', 'http://localhost:3186',
// 'http://132.248.80.196:3155', // 'http://132.248.80.196:3155',
// 'http://132.248.80.196:3185', // 'http://132.248.80.196:3185',
// 'https://pmodulospcpuma.unam.mx', // 'https://pmodulospcpuma.unam.mx',
// 'https://pmodulospcpuma.unam.mx:3015', // 'https://pmodulospcpuma.unam.mx:3015',
'https://modulospcpuma.unam.mx', // 'https://modulospcpuma.unam.mx',
'https://modulospcpuma.unam.mx:3015', // 'https://modulospcpuma.unam.mx:3015',
], ],
}, },
}) })

View File

@ -192,7 +192,6 @@ export class PrestamoService {
throw new ConflictException( 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.', '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); return this.equipoService.update(equipo, null, 2);
}) })
.then(({ equipo }) => .then(({ equipo }) =>