mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 03:11:34 +00:00
added display name to users
This commit is contained in:
parent
cbb8950b46
commit
c0294f4c39
16 changed files with 112 additions and 14 deletions
|
|
@ -23,7 +23,11 @@ class MeController {
|
|||
* @param {Response} res
|
||||
*/
|
||||
getCurrentUser(req, res) {
|
||||
res.json(req.user.toOldJSONForBrowser())
|
||||
const userJson = req.user.toOldJSONForBrowser()
|
||||
Logger.info('[MeController] getCurrentUser response:', {
|
||||
user: userJson
|
||||
})
|
||||
res.json(userJson)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue