* return 200 asap to paddle and queue webhook received
* paddle ids to int
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user