Skip to content

Commit

Permalink
#6
Browse files Browse the repository at this point in the history
Modelos básicos
Create & Read de patients
  • Loading branch information
djsanabriac committed Apr 1, 2020
1 parent ce038a8 commit 849d0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/shared/services/firebase.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export class FirebaseService {

this.firestore.collection<Patient>('patients', queryFn).valueChanges().toPromise()
.then(value => {
console.log("ya casi, vamos!", value);
console.log("[CUSTOM SUCCESS]", value);
})
.catch(reason => {
console.log("auch", reason)
console.log("[CUSTOM ERROR]", reason)
});

return this.firestore.collection<Patient>('patients', queryFn).valueChanges().toPromise();
Expand Down

0 comments on commit 849d0cd

Please sign in to comment.