0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/models
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
..
base Reverted destroy function of CRUD plugin to chained promises 2021-06-24 10:17:40 +01:00
relations Improved single author deprecated notices 2021-05-04 17:11:12 +01:00
action.js
api-key.js Extracted Bookshelf actions code to plugin 2021-06-17 12:04:38 +01:00
author.js
email-batch.js
email-recipient.js
email.js Added ability to send a newsletter to members with a certain label or product (#12932) 2021-05-07 11:56:41 +01:00
index.js
integration.js
invite.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
label.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
member-email-change-event.js
member-login-event.js
member-paid-subscription-event.js
member-payment-event.js
member-status-event.js Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
member-stripe-customer.js
member-subscribe-event.js
member.js
mobiledoc-revision.js
permission.js
post.js Removed unused fields relationship function on Post model 2021-06-02 10:09:30 +01:00
posts-meta.js
product.js Added monthly & yearly price relation to Product 2021-06-01 11:00:28 +01:00
role.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js
settings.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00
single-use-token.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
snippet.js Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
stripe-customer-subscription.js 🐛 Fixed members list not loading (#12930) 2021-05-26 19:52:42 +05:30
stripe-price.js
stripe-product.js
tag-public.js
tag.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
user.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00
webhook.js