0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
Independent technology for modern publishing, memberships, subscriptions and newsletters.
Find a file
Fabien O'Carroll 49f325dde4 Handled missing Offer when reading
no-issue

When attempting to read a non-existent offer we were running into issues
with calling toJSON() on `null`. This updates the handling to explicitly
return null - so that the controller can correctly throw a NotFoundError
2021-10-22 14:13:04 +02:00
ghost Handled missing Offer when reading 2021-10-22 14:13:04 +02:00