From b52add894b6dc20f9e6e7556a3af84c17976aafe Mon Sep 17 00:00:00 2001 From: lemuel Date: Thu, 11 Aug 2022 16:43:01 -0500 Subject: [PATCH 1/2] acatlan --- src/app.gateway.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.gateway.ts b/src/app.gateway.ts index ee316a5..2f53ee2 100644 --- a/src/app.gateway.ts +++ b/src/app.gateway.ts @@ -10,10 +10,10 @@ import { Socket, Server } from 'socket.io'; @WebSocketGateway({ cors: { origin: [ - 'http://localhost:3176', - 'http://localhost:3186', - // 'http://132.248.80.196:3155', - // 'http://132.248.80.196:3185', + // 'http://localhost:3176', + // 'http://localhost:3186', + 'http://132.248.80.196:3155', + 'http://132.248.80.196:3185', // 'https://pmodulospcpuma.unam.mx', // 'http://pmodulospcpuma.unam.mx:3015', // 'https://modulospcpuma.unam.mx', From fd344dfd8ffb067052df8ee0044effcda9167c4f Mon Sep 17 00:00:00 2001 From: lemuel Date: Thu, 11 Aug 2022 18:51:02 -0500 Subject: [PATCH 2/2] errro institucion --- src/auth/dto/jwt-payload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/dto/jwt-payload.ts b/src/auth/dto/jwt-payload.ts index a16eb2b..fcc9a7b 100644 --- a/src/auth/dto/jwt-payload.ts +++ b/src/auth/dto/jwt-payload.ts @@ -13,7 +13,7 @@ export class JwtPayload { usuario?: string; - institucion?: { id_instituion: number }; + institucion?: { id_institucion: number }; instituciones?: { id_institucion_usuario: number;