I have trouble with Firebase rules. When I run the below code with the read and write rules set to true, it all works perfectly.
However, when I edit both the rules t