0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/e2e-api
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
..
admin Changed /email_previews/posts/<post id> endpoint to return 204 upon success 2022-04-28 15:37:13 +01:00
content Updated tests to use DatabaseInfo 2022-03-17 17:33:11 +00:00
members Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
shared Disabled version compatibility emails temporarily 2022-04-28 15:22:05 +01:00