Skip to content

Commit 2f35584

Browse files
committed
[#152] feat: 페이지 구독을 위한 id 정보를 세션에 저장하는 로직 추가
1 parent d3b992c commit 2f35584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/controllers/block.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const readAll = async (req: Request, res: Response): Promise<void> => {
2424
},
2525
{},
2626
);
27+
(req.session as any).pageId = req.params.pageId;
2728
res.status(StatusCode.OK).json({ blockMap });
2829
};
2930

0 commit comments

Comments
 (0)