File tree Expand file tree Collapse file tree
cardset/infrastructure/grpc
collaboration/infrastructure/gateway Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export class CardsetGrpcController {
1717 data : IsCardSetViewableRequest ,
1818 ) : Promise < IsCardSetViewableResponse > {
1919 const viewable = await this . cardsetUseCase . isCardSetViewable (
20- data . cardSetId ,
21- data . userId ,
20+ Number ( data . cardSetId ) ,
21+ Number ( data . userId ) ,
2222 ) ;
2323 return { viewable } ;
2424 }
@@ -28,8 +28,8 @@ export class CardsetGrpcController {
2828 data : GetCardSetsByIdsRequest ,
2929 ) : Promise < GetCardSetsByIdsResponse > {
3030 const cardsets = await this . cardsetUseCase . getCardSetsByIds (
31- data . cardSetIds ,
32- data . userId ,
31+ data . cardSetIds . map ( Number ) ,
32+ Number ( data . userId ) ,
3333 ) ;
3434 return {
3535 cardSets : cardsets . map ( ( c ) => ( {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { CollaborationUseCase } from '../../application/collaboration.use-case';
1919@UseGuards ( WsAuthGuard )
2020@WebSocketGateway ( {
2121 cors : { origin : '*' } ,
22- namespace : '/v1/card-sets/ws' ,
22+ path : '/v1/card-sets/ws' ,
2323 pingTimeout : 60000 ,
2424 pingInterval : 25000 ,
2525} )
You can’t perform that action at this time.
0 commit comments