Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inviteduser.inviteStatusConfirm = function (invitedUserId, callback) {
- var status = 2;
- Inviteduser.upsert({
- id: invitedUserId,
- confirm: status
- }, (err, res) => {
- if (err) {
- callback(err)
- } else {
- return succ.render(path.resolve(__dirname, '../../server/views/invitation-success.ejs'), {});
- }
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement