overleaf/services/web/app/coffee/Features/User/UserInfoManager.coffee

5 lines
227 B
CoffeeScript
Raw Normal View History

2017-01-06 07:41:58 -05:00
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