0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/models/base
Daniel Lockyer ce68b2e4a9
Reverted destroy function of CRUD plugin to chained promises
refs https://github.com/TryGhost/Team/issues/808

- see referenced issue for context, but turning this function into
  async-await seems to have broken error handling when deleting things
  that don't exist
- i'm really not sure why - but my running theory is that it's something
  to do with Bluebird Promises vs native Promises
- this should keep the same functionality until I can investigate what
  is going on
2021-06-24 10:17:40 +01:00
..
plugins Reverted destroy function of CRUD plugin to chained promises 2021-06-24 10:17:40 +01:00
bookshelf.js Extracted Bookshelf method overrides to plugin 2021-06-17 15:02:34 +01:00
index.js Moved defaultColumnsToFetch to Bookshelf CRUD plugin 2021-06-17 17:07:10 +01:00
listeners.js Refactored Bookshelf CRUD functions into plugin 2021-06-15 18:27:43 +01:00
utils.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00