#acffaria91
1 messages · Page 1 of 1 (latest)
👋 happy to help
This is what I'm looking for, but unless I harcode the e-mail I can't figure out how to get the right syntax
const customer = await stripe.customers.search({
query: 'email:\'req.user.email\'', limit: 1
});
I will be with you shortly
thanks
I think that should work as expected
query: `email:'${req.user.email}'`, limit: 1
});```
Thanks!! It works