Skip to content

Commit

Permalink
[#152] feat: 페이지 구독을 위한 id 정보를 세션에 저장하는 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
domino8788 committed Dec 20, 2020
1 parent d3b992c commit 2f35584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/controllers/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const readAll = async (req: Request, res: Response): Promise<void> => {
},
{},
);
(req.session as any).pageId = req.params.pageId;
res.status(StatusCode.OK).json({ blockMap });
};

Expand Down

0 comments on commit 2f35584

Please sign in to comment.