mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-02-10 20:39:15 +00:00
Apple Push notifications. Trying something else. again
This commit is contained in:
parent
b6c7d59f17
commit
62c5ad38a8
@ -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);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user