Skip to content

Commit

Permalink
fix failing license keys
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Feb 19, 2025
1 parent e3d971f commit 160d0b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polar-migrate",
"version": "0.1.5",
"version": "0.1.6",
"license": "Apache-2.0",
"bin": "bin/cli.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const createProduct = async (
if (variant.attributes.has_license_keys) {
const benefit = await api.benefits.create({
type: "license_keys",
description: `${productName} License Key`,
description: `${productName.slice(0, 28)} License Key`,
properties: {
expires: variant.attributes.is_license_length_unlimited
? undefined
Expand Down

0 comments on commit 160d0b5

Please sign in to comment.