mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
c1c1b85a40
Complete Decafeinate of User Feature GitOrigin-RevId: b8d7ebc59c4f6673392b4a0f33fb11e002d5a3a0
15 lines
359 B
JavaScript
15 lines
359 B
JavaScript
const TeamInvitesHandler = require('../Subscription/TeamInvitesHandler')
|
|
|
|
const UserHandler = {
|
|
populateTeamInvites(user, callback) {
|
|
TeamInvitesHandler.createTeamInvitesForLegacyInvitedEmail(
|
|
user.email,
|
|
callback
|
|
)
|
|
},
|
|
|
|
setupLoginData(user, callback) {
|
|
this.populateTeamInvites(user, callback)
|
|
}
|
|
}
|
|
module.exports = UserHandler
|