Ghost/test/unit/server
Hannah Wolfe d01c1cba64
Fixed undefined error when serializing webhooks
closes: https://github.com/TryGhost/Toolbox/issues/318
refs: https://github.com/TryGhost/Toolbox/issues/320
refs: 2a11d5100e

- The underlying problem was caused by the removal of API versions
  - commit 2a11d5100e
  - I missed doing the same refactor as was done for the post-emailserializer here: 2a11d5100e (diff-0f7477bb5e5a9fdcb4c909a9e9e61ab5bb76b640b2d63a5791a9d6c8904f2758R7)
  - The removal of api versions included a change to remove circular references in the api module
- Written some basic unit tests to prove that webhook serialization works
  - I'm not 100% happy with the output, and not sure if it's the tests or reality, needs further work
  - Future work tracked in https://github.com/TryGhost/Toolbox/issues/320
2022-05-03 11:40:59 +01:00
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
data Revert "Dropped nullable from subscribe events' newsletter id (#14598)" 2022-04-27 20:01:32 +01:00
lib Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
models Updated newsletter sender name column as nullable (#14476) 2022-04-14 17:42:20 +05:30
services Fixed undefined error when serializing webhooks 2022-05-03 11:40:59 +01:00
web Removed res.locals.apiVersion 2022-04-28 15:35:28 +01:00
notify.test.js Fixed notify library tests 2021-12-06 08:20:39 +00:00
overrides.test.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00