0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Handled empty Offer titles

no-issue

We want to allow for Offers titles to be blank/empty. This updates the
API to handle both null & empty strings for the Offer title.
This commit is contained in:
Fabien O'Carroll 2021-10-22 14:18:01 +02:00
parent d962f0e18e
commit 70f7039539
2 changed files with 10 additions and 2 deletions

View file

@ -82,7 +82,7 @@
"@tryghost/members-api": "2.4.1",
"@tryghost/members-csv": "1.1.8",
"@tryghost/members-importer": "0.3.4",
"@tryghost/members-offers": "0.8.0",
"@tryghost/members-offers": "0.9.0",
"@tryghost/members-ssr": "1.0.15",
"@tryghost/metrics": "0.2.5",
"@tryghost/mw-session-from-token": "0.1.25",

View file

@ -1569,7 +1569,15 @@
"@tryghost/tpl" "^0.1.3"
moment-timezone "0.5.23"
"@tryghost/members-offers@0.8.0", "@tryghost/members-offers@^0.8.0":
"@tryghost/members-offers@0.9.0":
version "0.9.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.9.0.tgz#a587321f7bde000210d97ff1d491a200d24d36b7"
integrity sha512-ux2wYTxO4AJItELX+0Uv5gjYC+sh5AYjC70hXcAFzBYYWyYg5ZolFZy7H1Cl8fBJVKHOr9ftz3qLu7GfyMVHQg==
dependencies:
"@nexes/mongo-utils" "^0.3.1"
"@tryghost/string" "^0.1.20"
"@tryghost/members-offers@^0.8.0":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.8.0.tgz#02d10b3719e3ef3f65098fa1e79b8f163f737eab"
integrity sha512-mjCPiOt6z57lWiNMSunSz+cKMHXAh7Kx76e4QePSpXzEfvApZdqDYyA/0mFbhJYj5PFK1v/Bvft6r+P1wVtkLg==