This commit is contained in:
Peter Maquiran
2021-08-30 12:13:06 +01:00
parent 45d1912bf3
commit 7c07dfff32
+2 -4
View File
@@ -171,9 +171,7 @@ export class NotificationsService {
console.log('Push notification recived: failure ' + error.responseText);
console.log(JSON.stringify(error));
}
).fail((data)=>{
console.log('faild', data)
})
)
} else {
console.log('not called')
}
@@ -241,7 +239,7 @@ export class NotificationsService {
}
this.callbacks.forEach( e=> {
if(e.type == data.Object && e.type == 'any') {
if(e.type == data.Object || e.type == 'any') {
e.funx()
}
})