mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
c1c1b85a40
Complete Decafeinate of User Feature GitOrigin-RevId: b8d7ebc59c4f6673392b4a0f33fb11e002d5a3a0
13 lines
276 B
JavaScript
13 lines
276 B
JavaScript
const UserGetter = require('./UserGetter')
|
|
|
|
const UserInfoManager = {
|
|
getPersonalInfo(userId, callback) {
|
|
UserGetter.getUser(
|
|
userId,
|
|
{ _id: true, first_name: true, last_name: true, email: true },
|
|
callback
|
|
)
|
|
}
|
|
}
|
|
|
|
module.exports = UserInfoManager
|