mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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 |
||
---|---|---|
.. | ||
client@a2517f3190 | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |