mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: building and production starting scripts
This commit is contained in:
1 parent
eb106c020a
commit
ef279ba00e
6 files changed
+7
-15
No files matched your search
@@ -22,6 +22,7 @@ export async function userListController(req: Request, res: Response) {
|
||||
res.status(500).send('Error fetching user data')
|
||||
}
|
||||
}
|
||||
|
||||
export async function userDetailController(req: Request, res: Response) {
|
||||
const id = new mongoose.Types.ObjectId(req.params.id)
|
||||
const sessions = await userDetail(id)
|
||||
|
||||
Reference in new issue
Block a user