fix: missing express type annotation

This commit is contained in:
wancat committed 2024-03-28 21:28:18 +08:00
1 parent 432084cc66
commit eb106c020a
6 files changed
+22 -9

No files matched your search

@@ -1,6 +1,7 @@
import { Request, Response } from 'express'
import Pagination from '../models/pagination.js'
import { sessionList, sessionDetail } from '../models/sessions.js'
import { Request, Response } from 'express'
export async function sessionListController(req: Request, res: Response) {
const { nextKey, order } = req.query as { nextKey: string; order: string }
const itemsPerPage = 50