function getUsersEmail() {
const dbRef = ref(getDatabase());
get(child(dbRef, 'users/' СЮДА )).then((snapshot) => {
if (snapshot.exists()) {
console.table(snapshot.val());
} else {
console.log("No data available");
}
}).catch((error) => {
console.error(error);
});
}
getUsersEmail()