Apple Push notifications. Trying something else. again

This commit is contained in:
Martin Donnelly 2016-04-29 14:52:26 +01:00
parent b6c7d59f17
commit 62c5ad38a8

View File

@ -145,7 +145,11 @@ var officeController = function(neweventbus) {
};
officeController.prototype.saveData = function() {
jsonfile.writeFile(file, this.iosTokens);
jsonfile.writeFile(file, this.iosTokens, function(err, obj) {
if(err) {
logger.error(err);
}
});
};