overleaf/services/web/app/src/Features/User/UserHandler.js

16 lines
359 B
JavaScript
Raw Normal View History

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