chore: migrate to v3 and adopt Doppler for secrets management #3

Open
kamil wants to merge 574 commits from v3-cleanup into main
Showing only changes of commit 1e9a96aa0f - Show all commits

View File

@@ -42,11 +42,11 @@ export const POST: RequestHandler = async ({ request }) => {
case 'subscription.updated':
case 'subscription.canceled':
case 'subscription.revoked':
await handleSubscriptionEvent(type, data as Parameters<typeof handleSubscriptionEvent>[1]);
await handleSubscriptionEvent(type, data as unknown as Parameters<typeof handleSubscriptionEvent>[1]);
break;
case 'order.created':
await handleOrderCreated(data as Parameters<typeof handleOrderCreated>[0]);
await handleOrderCreated(data as unknown as Parameters<typeof handleOrderCreated>[0]);
break;
default: