fix: change from id to uid

This commit is contained in:
Leon Xu committed 2022-05-07 15:37:35 -07:00
1 parent 5b7a0aadd2
commit fc3f5551a6
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ function Payment() {
}) })
.then(({ paymentIntent }) => { .then(({ paymentIntent }) => {
db.collection("users") db.collection("users")
.doc(user?.id) .doc(user?.uid)
.collection("orders") .collection("orders")
.doc(paymentIntent.id) .doc(paymentIntent.id)
.set({ .set({