I want to read the data of not authenticated users from firestore
collection location is users->swipes->id

my attemp not success
const querySnapshot = await getDocs(collection(db, "users",id,"swipes"));
querySnapshot.forEach((doc) => {
// doc.data() is never undefined for query doc snapshots
console.log(doc.id, " => ", doc.data());
});
I want to read id in swipes , not from user.uid here 3 users in users if want to read from user.uid , it is easy
collection(db, "users",user.id,"swipes")
if want to read from others users I confuse plz help