Browse Source

change writting from profileInfo to Users

David Sokol Zelazko 3 năm trước cách đây
mục cha
commit
115b78c466
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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());