1
I am not able to insert a field with the user id in a document, I need the user.uid to become a field of type Boolean
I tried that, but I miss the point:
let{
user.uid : true
}
I also tried to add the user.uid
a variable before, but he entered the variable name.
puts the complete code you are using so we can help better, probably the user has no uid so the error, try to make a console.log(JSON.stringify(user)) to see what’s in this user
– Rodolfo Patane