오류 수정
This commit is contained in:
@@ -325,7 +325,7 @@ router.get('/features/stats', async (req, res) => {
|
||||
router.get('/users', async (req, res) => {
|
||||
try {
|
||||
const users = await User.findAll({
|
||||
attributes: ['id', 'name', 'email', 'role', 'createdAt'],
|
||||
attributes: ['id', 'name', 'email', 'role', 'status', 'createdAt'],
|
||||
order: [['createdAt', 'DESC']]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user