瀏覽代碼

change writting from profileInfo to Users

David Sokol Zelazko 3 年之前
父節點
當前提交
115b78c466
共有 1 個文件被更改,包括 1 次插入1 次删除
  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());