Update AuthSessionStore.swift

This commit is contained in:
talksik
2021-12-21 01:43:00 -08:00
parent db93195b31
commit 9c7fd76644
+1 -1
View File
@@ -211,7 +211,7 @@ extension AuthSessionStore {
// parse through the new result set
// if already exists in dict, then make sure not to delete the associated list
db.collection("userFriends").whereField("userId", isEqualTo: userId)
db.collection("user_friends").whereField("userId", isEqualTo: userId)
.addSnapshotListener { querySnapshot, error in
guard let snapshot = querySnapshot else {
print("Error fetching user's friends: \(error!)")