Skip to content

Commit

Permalink
add lifetime product to checked products
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronsutter committed Mar 25, 2021
1 parent b7d8cd5 commit 90c4f55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ script:
branches:
only:
- master
- prod
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ test: off
branches:
only:
- master
- prod
4 changes: 3 additions & 1 deletion src/common/licensing/licensing.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import SETTINGS from '../utils/settings'

const BASE_URL = 'https://my.plottr.com'
const V2_OLD_PRODUCT_ID = is.macos ? '11321' : '11322'
export const PRODUCT_IDS = [33345, V2_OLD_PRODUCT_ID] // NOTE: if this order changes, change the productMapping array at the bottom too
// NOTE: if this order changes, change the productMapping array at the bottom too
export const PRODUCT_IDS = [33347, 33345, V2_OLD_PRODUCT_ID]
export const WRONG_PRODUCT_ERRORS = [
'invalid_item_id',
'key_mismatch',
Expand Down Expand Up @@ -96,6 +97,7 @@ function getGracePeriodEnd() {
}

export const productMapping = {
33347: mapPro,
33345: mapPro,
11321: mapV2old,
11322: mapV2old,
Expand Down

0 comments on commit 90c4f55

Please sign in to comment.