mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-06 04:01:04 +01:00
feat(invitations): add tranceLog of userSendInvitation when user send an invitation
This commit is contained in:
@@ -192,6 +192,11 @@ exports.update = function (req, res) {
|
||||
});
|
||||
} else {
|
||||
res.json(invitation);
|
||||
//create trace log
|
||||
traceLogCreate(req, traceConfig.action.userSendInvitation, {
|
||||
to: req.query.to_email,
|
||||
token: invitation.token
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user