0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/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 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00
data Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
lib Updated probe-image-size options to reflect underlying change 2022-03-09 20:27:38 +00:00
models Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
services Fixed undefined error when serializing webhooks 2022-05-03 11:40:59 +01:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
update-check.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00