Add debug logging for markContactEmailsAsRead and remove password change restriction
This commit is contained in:
@@ -128,7 +128,7 @@ export const getAllUsers = async (req, res) => {
|
||||
* Získanie konkrétneho usera (admin only)
|
||||
* GET /api/admin/users/:userId
|
||||
*/
|
||||
export const getUserById = async (req, res) => {
|
||||
export const getUser = async (req, res) => {
|
||||
const { userId } = req.params;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user