In the process of adding the delete button to the invitation panel. Apparently, the delete method doesn't work with the invitation items, so I might need to add some extra logic.

This commit is contained in:
HSam
2016-03-03 21:09:44 -06:00
parent 5ed3148fe1
commit 4d87f0276b
4 changed files with 33 additions and 5 deletions

View File

@@ -212,6 +212,10 @@ User.search = function(socket, data, callback) {
});
};
User.deleteInvitation = function(socket, data, callback) {
user.deleteInvitation(data.email, callback);
};
User.acceptRegistration = function(socket, data, callback) {
user.acceptRegistration(data.username, callback);
};
@@ -221,4 +225,4 @@ User.rejectRegistration = function(socket, data, callback) {
};
module.exports = User;
module.exports = User;