Admin Dashboard Backend (Phases 1-4) #5

Merged
stephen merged 9 commits from admin into main 2026-01-22 14:11:43 -07:00
16 changed files with 11203 additions and 31 deletions
Showing only changes of commit f2c459ea88 - Show all commits

View File

@ -71,7 +71,7 @@ router.get('/users', async (req, res) => {
order
});
res.json(result);
res.json({ data: result });
} catch (error) {
console.error('Error fetching users:', error);
res.status(500).json({ error: 'Failed to fetch users' });