Ghost/core/server
Daniel Lockyer f82ff87177
Changed /email_previews/posts/<post id> endpoint to return 204 upon success
refs https://github.com/TryGhost/Toolbox/issues/308

- this endpoint is currently used to send a test email with the post
- it currently returns a 200 with whatever the response of the mail
  service is
- this body isn't used in Admin nor is useful generally because it just
  contains the ID of the mailgun response
- it's better than we change it to 204 and no response
- this commit does that and updates the tests
2022-04-28 15:37:13 +01:00
..
adapters 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api Changed /email_previews/posts/<post id> endpoint to return 204 upon success 2022-04-28 15:37:13 +01:00
data Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01: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 Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Renamed email-preview file to email-previews 2022-04-28 15:37:12 +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