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 11205 additions and 31 deletions
Showing only changes of commit 4a26559961 - Show all commits

View File

@ -106,10 +106,12 @@ router.get('/users/:id', async (req, res) => {
.toArray(); .toArray();
res.json({ res.json({
data: {
user: { user: {
...user, ...user,
recentActivity recentActivity
} }
}
}); });
} catch (error) { } catch (error) {
console.error('Error fetching user details:', error); console.error('Error fetching user details:', error);