Jul 25, 2017 · 1 min read
Log out usersRef.toString(). It’s most likely the root of your db, so when you called .set it overwrote the whole thing. Use .update if you don’t want to delete data accidentally. Also just be careful with your paths! It’s happened to all of us :)
