Can someone please check out my code below and help me with this issue?
When I use FireBase.Auth.getUses(), I am only able to set data like getUses([userId:'dddd']). However, I want to getUsers("userId" containing "@hayan.com").
getAuth()
.getUser(uid)
.then((userRecord) => {
// See the UserRecord reference documentation for userRecord content.
console.log(`Successfully fetched user data: ${userRecord.toJSON()}`);
})
.catch((error) => {
console.log('Error fetching user data:', error);
});
Does anyone know how to solve this problem?
Thank you in advance