keep paddle plan modifiers between changes

This commit is contained in:
m5r 2021-10-03 18:41:43 +02:00
parent 38c2edb8e4
commit bbfe08959c

View File

@ -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,
}); });
} }