We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 160d0b5 commit 3b19d0eCopy full SHA for 3b19d0e
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "polar-migrate",
3
- "version": "0.1.6",
+ "version": "0.1.7",
4
"license": "Apache-2.0",
5
"bin": "bin/cli.js",
6
"type": "module",
src/product.ts
@@ -122,7 +122,9 @@ export const createProduct = async (
122
const createParams: ProductCreate = {
123
name: productName,
124
prices: [price],
125
- recurringInterval: resolveInterval(variant.attributes.interval),
+ recurringInterval: variant.attributes.is_subscription
126
+ ? resolveInterval(variant.attributes.interval)
127
+ : null,
128
description: description,
129
organizationId: organization.id,
130
};
0 commit comments