0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Improved error messages for Offers API

no-issue

The error messages for duplicate Offer name and code were not
particularly helpful. This includes an update to them based on feedback
from Peter.
This commit is contained in:
Fabien O'Carroll 2021-10-22 16:50:48 +02:00
parent 696d8e3c49
commit c3694c9903
2 changed files with 5 additions and 5 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.9.0",
"@tryghost/members-offers": "0.10.1",
"@tryghost/members-ssr": "1.0.15",
"@tryghost/metrics": "0.2.6",
"@tryghost/mw-session-from-token": "0.1.26",

View file

@ -1577,10 +1577,10 @@
"@tryghost/tpl" "^0.1.3"
moment-timezone "0.5.23"
"@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==
"@tryghost/members-offers@0.10.1":
version "0.10.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.10.1.tgz#40b8498b2827a5be436f323235e433903178b380"
integrity sha512-jndpQXLSLL0gWP4QHTDfdE282w5B/7iMULzTfjyK9Vzz87Ja3dYu5iWeTiWVhpITAOQm3bY/bgntYfgBB7UzZA==
dependencies:
"@nexes/mongo-utils" "^0.3.1"
"@tryghost/string" "^0.1.20"