mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
7 lines
210 B
JavaScript
7 lines
210 B
JavaScript
import { userList } from '../models/users.js'
|
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
export async function userListController(req, res) {
|
|
res.render('users', { users: await userList() })
|
|
}
|