фикс
This commit is contained in:
parent
12e271a4b8
commit
bed201fafd
@ -223,6 +223,7 @@ const getMe = async (req, res, next) => {
|
||||
photos: req.user.photos,
|
||||
location: req.user.location,
|
||||
preferences: req.user.preferences,
|
||||
isAdmin: req.user.isAdmin || false, // Добавляем информацию об административных правах
|
||||
createdAt: req.user.createdAt,
|
||||
updatedAt: req.user.updatedAt,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user