Closed anand-harsh closed 9 months ago
We want that admin can get to know who all are enrolled in their course or for now, who all signup for the course
Make a endpoint that gets all the users ( name, email, role, createdAt )
Request : POST Endpoint: /getAllUsers
Note: Add admin and isAuthenticated middleware in route
@anand-harsh i want to work under JWOC. kindly assign
@anand-harsh request should be GET?
yes
@anand-harsh kindly review the pr #105
Issue
We want that admin can get to know who all are enrolled in their course or for now, who all signup for the course
Solution
Make a endpoint that gets all the users ( name, email, role, createdAt )
Request : POST Endpoint: /getAllUsers
Note: Add admin and isAuthenticated middleware in route