Added monthly & yearly price support to products

refs https://github.com/TryGhost/Team/issues/712

The ProductRepository in members-api has been updated to accept
monthly_price & yearly_price when creating and updating products, as
well as including them when reading.
This commit is contained in:
Fabien O'Carroll 2021-06-03 14:48:10 +01:00
parent 7d05da6185
commit def07d595e
2 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@
"@tryghost/kg-mobiledoc-html-renderer": "4.0.0",
"@tryghost/limit-service": "0.6.0",
"@tryghost/magic-link": "1.0.3",
"@tryghost/members-api": "1.12.0",
"@tryghost/members-api": "1.13.0",
"@tryghost/members-csv": "1.0.0",
"@tryghost/members-ssr": "1.0.3",
"@tryghost/mw-session-from-token": "0.1.20",

View File

@ -744,10 +744,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.12.0":
version "1.12.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.12.0.tgz#7d5de203338934e74f67a3f1e8e8c192009a7e05"
integrity sha512-JUWeol77zICe+tqIwJAIE31upfwmY+r428dy4PNzNxcb75Q/YsqAKG+5+6AQnAH3q3RS/mPSTrkreTqnivf5OA==
"@tryghost/members-api@1.13.0":
version "1.13.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.13.0.tgz#95f1f56ffd4e4106f549bf611b731882ab509ebd"
integrity sha512-1ioQVqZd3SBBLc30hQZdeiB7ms8huOQ1j5mmmtM2h02ujh4bXVi4+wQTGMhrc2GcFc3GwxG/eVkNBYfdlb0E3g==
dependencies:
"@tryghost/errors" "^0.2.9"
"@tryghost/magic-link" "^1.0.3"