Fixed errors when creating complimentary subscriptions

no-issue

The ProductRepository changed to require the options parameter which is
not passed when created complimentary subscriptions. This updates the
code to no longer require the options parameter and instead provide a
default.
This commit is contained in:
Fabien O'Carroll 2021-09-06 12:52:31 +02:00 committed by Daniel Lockyer
parent 6a7cd9856e
commit 31fafcb936
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD
2 changed files with 16 additions and 7 deletions

View File

@ -73,7 +73,7 @@
"@tryghost/limit-service": "0.6.1",
"@tryghost/logging": "0.1.5",
"@tryghost/magic-link": "1.0.10",
"@tryghost/members-api": "1.29.0",
"@tryghost/members-api": "1.29.2",
"@tryghost/members-csv": "1.1.5",
"@tryghost/members-importer": "0.3.1",
"@tryghost/members-ssr": "1.0.11",

View File

@ -899,7 +899,7 @@
moment "^2.29.1"
prettyjson "^1.2.1"
"@tryghost/magic-link@1.0.10", "@tryghost/magic-link@^1.0.10":
"@tryghost/magic-link@1.0.10":
version "1.0.10"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.10.tgz#934bbc8823c73b665212d51f0624dc8882f549cb"
integrity sha512-SqR1bd0iRfVcC8fuIX0mDuWbinhLtpFejeZRnAhhpBi5EitbnboKXH9BBWSJkWxpzJQhfP0Aru/q6XQalVDC4Q==
@ -908,15 +908,24 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.29.0":
version "1.29.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.29.0.tgz#147b510b990b19473e170a914983439f2b883695"
integrity sha512-a1R7BO/Q4ZQOyNJ67rJBq9vb3xk5BQYcM6z7XqsryWUnszxSIV2PjKMEcecJNMZiMGBUqURlMq5d3kPkqzloiw==
"@tryghost/magic-link@^1.0.11":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@tryghost/magic-link/-/magic-link-1.0.11.tgz#4ced33826051fcbfae2e26f576efee4a8b42912a"
integrity sha512-dc/YmYpj3nuNtKAyt3VFBo+sx8pTqLgMK94lus4keCfZGyz/HLrg/1XSp+Yc1v0r2jsGKLiZGQGrAQc8HfQuVA==
dependencies:
bluebird "^3.5.5"
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.29.2":
version "1.29.2"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.29.2.tgz#e5c01085482d490e5d703b7568105fccee7409da"
integrity sha512-fCJytSDDflVGC20IpL+8YGrLL2Fb7AEYSIbPPt3vL4gDjh+6+2LGlhkGoYoj2EciLI1J1niT4pOave1fldxWQQ==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/errors" "^0.2.9"
"@tryghost/ignition-errors" "^0.1.2"
"@tryghost/magic-link" "^1.0.10"
"@tryghost/magic-link" "^1.0.11"
"@tryghost/tpl" "^0.1.2"
"@types/jsonwebtoken" "^8.5.1"
bluebird "^3.5.4"