Explorar o código

change writting from profileInfo to Users

David Sokol Zelazko %!s(int64=3) %!d(string=hai) anos
pai
achega
115b78c466
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/lib/Services/AuthService.dart

+ 1 - 1
app/lib/Services/AuthService.dart

@@ -44,7 +44,7 @@ class AuthenticationServices {
       return null;
     }
     var querySnapshot = await FirebaseFirestore.instance
-        .collection('profileInfo')
+        .collection('Users')
         .where('mail', isEqualTo: _auth.currentUser?.email)
         .get();
     user = LoggedInUser.fromMap(querySnapshot.docs.first.data());