🚑 (billing) Fix chats pricing tiers incremental flat amou…
This commit is contained in:
@ -228,6 +228,14 @@ const migrateSubscriptionsToUsageBased = async () => {
|
||||
price: proPriceId,
|
||||
quantity: 1,
|
||||
},
|
||||
{
|
||||
id: newSubscription.items.data.find(
|
||||
(item) =>
|
||||
item.price.id === starterChatsPriceId ||
|
||||
item.price.id === proChatsPriceId
|
||||
)?.id,
|
||||
price: proChatsPriceId,
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user