Skip to content

Commit b1e461d

Browse files
Fix: 경로 수정
Fix: 경로 수정
2 parents 35e8a45 + d73d297 commit b1e461d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/cardset/infrastructure/grpc/cardset.grpc-controller.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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) => ({

src/collaboration/infrastructure/gateway/collaboration.gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
})

0 commit comments

Comments
 (0)