* return 200 asap to paddle and queue webhook received

* paddle ids to int
This commit is contained in:
m5r
2021-10-01 23:04:12 +02:00
parent 188c028667
commit 771fea4d7b
15 changed files with 370 additions and 496 deletions

View File

@ -37,7 +37,7 @@ export default function useSubscription({ initialData }: Params = {}) {
}, []);
type BuyParams = {
planId: string;
planId: number;
coupon?: string;
};
@ -81,7 +81,7 @@ export default function useSubscription({ initialData }: Params = {}) {
}
type ChangePlanParams = {
planId: string;
planId: number;
};
async function changePlan({ planId }: ChangePlanParams) {