fix(#29): price record upsert

This commit is contained in:
OllyNicholass
2024-09-17 19:38:33 +01:00
parent 02a75e1393
commit ec456a9b22
+2 -2
View File
@@ -44,8 +44,8 @@ export const POST: RequestHandler = async ({ request }) => {
break;
case 'price.created':
case 'price.updated':
await upsertPrice(event.data.object)
break
await upsertPriceRecord(event.data.object as stripe.Price);
break;
case 'price.deleted':
await deletePriceRecord(event.data.object as stripe.Price);
break;