mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fix conflicts
This commit is contained in:
parent
844a986227
commit
aed61b5857
@ -77,6 +77,7 @@ export const POST = createSmartRouteHandler({
|
||||
subscription.offerId &&
|
||||
subscription.offer.groupId === groupId &&
|
||||
isActiveSubscription(subscription) &&
|
||||
subscription.offer.prices !== "include-by-default" &&
|
||||
(!offer.isAddOnTo || !Object.keys(offer.isAddOnTo).includes(subscription.offerId))
|
||||
));
|
||||
conflictingGroupOffers = conflicts.map((s) => ({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user