Skip to content

Commit 2068244

Browse files
authored
fix: add missing 'non-renewing-subscription' in normalization (#3142)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Enhanced handling of iOS product type variants, including support for the hyphenated non-renewing-subscription format alongside existing variants. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 901da0a commit 2068244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/type-bridge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function normalizeProductTypeIOS(value?: Nullable<string>): ProductTypeIOS {
9393
return 'auto-renewable-subscription';
9494
case 'nonrenewingsubscription':
9595
case 'non_renewing_subscription':
96+
case 'non-renewing-subscription':
9697
return 'non-renewing-subscription';
9798
default:
9899
if (value) {

0 commit comments

Comments
 (0)