overleaf/services/web/app/coffee/Features/User/UserInfoManager.coffee
2017-01-06 13:41:58 +01:00

5 lines
No EOL
227 B
CoffeeScript

UserGetter = require "./UserGetter"
module.exports = UserInfoManager =
getPersonalInfo: (user_id, callback = (error) ->) ->
UserGetter.getUser user_id, { _id: true, first_name: true, last_name: true, email: true }, callback