Admin Dashboard Backend (Phases 1-4) #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "admin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wrap getPaginatedUsers result in { data: result } to match the project convention and frontend code that expects response.data.users.Wrap user detail response in { data: { user } } to match frontend expectation.Wrap all admin endpoint responses in { data: ... } to match frontend expectations and project conventions: - PATCH /users/:id (enable/disable) - PATCH /users/:id/role (promote/demote) - GET /users/:id/activity - GET /activity - PATCH /settings