I'm currently trying to display the name of the user that is currently logged in, but I can't seem to get it to display the name. Can anyone see what's wrong with the code?

The console was printing the first name of every user so I added in the uuid but now I'm getting a "Use of unresolved identifier 'querySnapshot'" error

```
func getData() {
        let uuid = UUID().uuidString
        guard let currentUser = Auth.auth().currentUser else { return }
        let dbUsers = Firestore.firestore().collection("members").document(uuid)
        dbUsers.addSnapshotListener { snapshot, error in
        if error != nil {
                 print(error ?? "Couldn't update text field TextUser according to database")
            } else {
                for document in (querySnapshot?.documents)! {
                    if let Name = document.data()["firstName"] as? String {
                        print(Name)
                        var post = NameData(firstname: "")
                        post.firstname = Name

                        self.userName.append(post)
                        self.nameLabel.text = self.name
                    }
                }

                print(self.userName)
            }
        }
      }

```