Ghost/core/server/models/base/plugins
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
..
actions.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
bulk-operations.js Refactored out local DB require in bulk-operations plugin 2021-06-17 13:16:11 +01:00
crud.js Reverted destroy function of CRUD plugin to chained promises 2021-06-24 10:17:40 +01:00
data-manipulation.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
events.js Moved setId function to Bookshelf events plugin 2021-06-17 17:07:10 +01:00
filtered-collection.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
generate-slug.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
overrides.js Moved formatOnWrite function to Bookshelf override plugin 2021-06-17 16:47:47 +01:00
raw-knex.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
sanitize.js Fixed indenting for Bookshelf sanitize plugin JSDoc 2021-06-17 13:01:15 +01:00
user-type.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00