mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-24 07:27:10 -05:00
only need one await
This commit is contained in:
parent
2aeca356bf
commit
b30402b904
|
|
@ -573,7 +573,7 @@ router.post('/checkout/:priceId', async (request, response) => {
|
|||
const pid = account.pid;
|
||||
|
||||
let customer;
|
||||
const { data: searchResults } = await await stripe.customers.search({
|
||||
const { data: searchResults } = await stripe.customers.search({
|
||||
query: `metadata['pnid_pid']:'${pid}'`
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user