error hora tope
This commit is contained in:
parent
3e05fee249
commit
6316fcec92
@ -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',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -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 }) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user