feat: send response to frontend

This commit is contained in:
wancat committed 2024-02-29 10:54:53 +08:00
1 parent fb69cb4e10
commit 88ee8f2cc3
8 files changed
+46 -35

No files matched your search

+5 -1
View File
@@ -22,6 +22,10 @@ router.post(
activeSessionValidator,
sessionController.getOrCreateSession
)
router.get('/:id', sessionDetailValidator, sessionController.getSessionById)
router.get(
'/:sessionId',
sessionDetailValidator,
sessionController.getSessionById
)
export default router