fix: change from id to uid
This commit is contained in:
1 parent
5b7a0aadd2
commit
fc3f5551a6
1 file changed
+1
-1
@@ -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({
|
||||||
|
|||||||
Reference in new issue
Block a user