Hi I am new to firebase firestore And I can't add object directly into the collection see the image wrong result and expected result
Tried
admin.firestore()
.collection('/user/DVCeb96fLKNAeVo1YIbukAOWMI12/balance/')
.doc()
.set(userBalance)
It creating a new document under balance collection but I need its Object value directly inside the balance collection