keep paddle plan modifiers between changes
This commit is contained in:
parent
38c2edb8e4
commit
bbfe08959c
@ -92,11 +92,13 @@ export async function updateSubscriptionPlan({
|
|||||||
subscriptionId,
|
subscriptionId,
|
||||||
productId,
|
productId,
|
||||||
shouldProrate = true,
|
shouldProrate = true,
|
||||||
|
shouldKeepModifiers = true,
|
||||||
}: PaddleSdkUpdateSubscriptionRequest<Metadata>) {
|
}: PaddleSdkUpdateSubscriptionRequest<Metadata>) {
|
||||||
return paddleSdk.updateSubscription({
|
return paddleSdk.updateSubscription({
|
||||||
subscriptionId,
|
subscriptionId,
|
||||||
productId,
|
productId,
|
||||||
shouldProrate,
|
shouldProrate,
|
||||||
|
shouldKeepModifiers,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user