mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-26 02:26:35 -05:00
only need one await
This commit is contained in:
@@ -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}'`
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user