Log session deletions

This commit is contained in:
lilia 2017-02-27 12:50:21 -08:00
parent 527e7878a8
commit bba25b22e2

View file

@ -247,6 +247,7 @@
}); });
}, },
removeSession: function(encodedNumber) { removeSession: function(encodedNumber) {
console.log('deleting session for ', encodedNumber);
return new Promise(function(resolve) { return new Promise(function(resolve) {
var session = new Session({id: encodedNumber}); var session = new Session({id: encodedNumber});
session.fetch().then(function() { session.fetch().then(function() {