0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core
Daniel Lockyer 323074f106
🐛 Fixed error when deleting non-existent snippet
fixes https://github.com/TryGhost/Team/issues/809

- Bookshelf won't throw a `NotFoundError` unless `require=true` in the
  options
- this is present in most other API endpoints, so it's just simply
  missing from the snippet one
- without this, Ghost will crash with a 500 saying `Cannot read property
  'destroy' of null`
- this commit adds `require=true` to the destroy options for both the canary +
  v3 endpoints
2021-06-24 09:58:35 +01:00
..
client@a2517f3190 Updated Ghost-Admin to v4.8.0 2021-06-22 15:25:52 +01:00
frontend Added crossorigin attribute to Portal script 2021-06-22 12:31:30 +05:30
server 🐛 Fixed error when deleting non-existent snippet 2021-06-24 09:58:35 +01:00
shared Added sentry config to frontend site settings for Portal (#13086) 2021-06-21 17:59:20 +05:30
app.js
boot.js Replaced ghost-version.js with @tryghost/version 2021-06-16 13:16:15 +01:00
bridge.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00