mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Fixed editing Offer description via API
no-issue We were only updating the Offer description if it was truthy - rather than if it existing, this resulting in empty strings or null not working correctly.
This commit is contained in:
parent
2891898f94
commit
d303c40248
@ -82,7 +82,7 @@
|
|||||||
"@tryghost/members-api": "2.3.0",
|
"@tryghost/members-api": "2.3.0",
|
||||||
"@tryghost/members-csv": "1.1.7",
|
"@tryghost/members-csv": "1.1.7",
|
||||||
"@tryghost/members-importer": "0.3.3",
|
"@tryghost/members-importer": "0.3.3",
|
||||||
"@tryghost/members-offers": "0.7.1",
|
"@tryghost/members-offers": "0.7.2",
|
||||||
"@tryghost/members-ssr": "1.0.14",
|
"@tryghost/members-ssr": "1.0.14",
|
||||||
"@tryghost/metrics": "0.2.4",
|
"@tryghost/metrics": "0.2.4",
|
||||||
"@tryghost/mw-session-from-token": "0.1.25",
|
"@tryghost/mw-session-from-token": "0.1.25",
|
||||||
|
@ -1552,10 +1552,10 @@
|
|||||||
"@tryghost/tpl" "^0.1.3"
|
"@tryghost/tpl" "^0.1.3"
|
||||||
moment-timezone "0.5.23"
|
moment-timezone "0.5.23"
|
||||||
|
|
||||||
"@tryghost/members-offers@0.7.1":
|
"@tryghost/members-offers@0.7.2":
|
||||||
version "0.7.1"
|
version "0.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.7.1.tgz#0be01546b1d2706a276c508a6563dfcdeb226b57"
|
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.7.2.tgz#b32ee98842351a5aef7bc1c91dcdaf8069d411c5"
|
||||||
integrity sha512-9dCMTZb1VO9QypGEOMrvPlngFakgNJa7dRNHNZpPkaOi+JK4kfmddQ6IG2Q50bRanL6jQUeZ7PzPE2nJGTe9+w==
|
integrity sha512-mSwzjHnctorhpKz8wOauRKIBtFFk6+CdEiTlfiBoOLzB8K8hYq21y/iUetyznbj2peO3qdTkHa7oDcB0I0JR0A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@nexes/mongo-utils" "^0.3.1"
|
"@nexes/mongo-utils" "^0.3.1"
|
||||||
"@tryghost/string" "^0.1.20"
|
"@tryghost/string" "^0.1.20"
|
||||||
|
Loading…
Reference in New Issue
Block a user