Browse Source

Fix para que busque dentro del collection que se supone

gilberto.cancel 2 years ago
parent
commit
4c07f85209
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      screens/main/Cita.js

+ 2
- 1
screens/main/Cita.js View File

@@ -72,7 +72,7 @@ export function Cita({route, navigation}) {
72 72
   function check_user_type_INT(){ 
73 73
 
74 74
     firebase.firestore()
75
-    .collection("Interprete")
75
+    .collection("Interpreters")
76 76
     .doc(firebase.auth().currentUser.uid)
77 77
     .get()
78 78
     .then((snapshot) => {
@@ -276,3 +276,4 @@ const mapDispatchProps = (dispatch) => bindActionCreators({fetchUser}, dispatch)
276 276
 export default connect(mapStateToProps, mapDispatchProps)(Cita);
277 277
 
278 278
 
279
+