From 31fafcb936fbad3641c1dcbf84a75b0cc8a4fdc4 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Mon, 6 Sep 2021 12:52:31 +0200 Subject: [PATCH] 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. --- package.json | 2 +- yarn.lock | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 98dbb8fad5..911a65b79f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index a27032c941..6ab2ba8873 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"