Some Strange thing is hapenning ..
I Am trying to delete document from firebase, the problem is even when the ID, isn't found on the collection It gives me back , a successfull msg.
is it a bug on firebase ???
DeleteOrganization(id) {
return this.afs.collection('organizations').doc(id).delete()
.then( () => {
console.log('Document successfully deleted!');
}).catch( (error) => {
console.error('Error removing document: ', error);
});
}