1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-21 09:52:06 +03:00
Ghost/ghost/core/test/e2e-api
Daniel Lockyer 3f7a7fff44 Fixed HTTP 500 when adding unknown products to member
fix https://linear.app/tryghost/issue/SLO-89/cannot-read-properties-of-null-reading-get-an-unexpected-error

- if we pass an invalid ID when updating the products on a member, we
  throw a HTTP 500 error because `product` is `null`
- we can check for this and return a BadRequestError, because the user
  supplied an incorrect ID
2024-05-01 16:54:35 +02:00
..
admin Fixed HTTP 500 when adding unknown products to member 2024-05-01 16:54:35 +02:00
content 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards () 2024-03-06 09:11:49 +00:00
members Added new member signup flow behind labs flag () 2024-04-04 15:25:41 -07:00
members-comments Added /comments/:id/replies/ to X-Cache-Invalidate 2024-02-28 23:15:02 +00:00
shared Added portal default plan setting () 2023-12-06 11:39:58 +01:00
webmentions Updated to use assert/strict everywhere () 2023-06-21 09:56:59 +01:00