mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
closes https://github.com/TryGhost/Team/issues/1655 refs https://github.com/TryGhost/Ghost/commit/4bc14d2c4 - The API should always accept the input it returns. In this case it did not accept the input when it contained an unchanged roles property - The problem here came from the referenced commit where we can now end up in the situation when the `roleToAssign` is just empty. It was an optimization to prevent a need to do ANY DB operation when none was needed. |
||
---|---|---|
.. | ||
base | ||
relations | ||
action.js | ||
api-key.js | ||
author.js | ||
benefit.js | ||
custom-theme-setting.js | ||
email-batch.js | ||
email-recipient.js | ||
email.js | ||
index.js | ||
integration.js | ||
invite.js | ||
label.js | ||
member-analytic-event.js | ||
member-cancel-event.js | ||
member-email-change-event.js | ||
member-login-event.js | ||
member-paid-subscription-event.js | ||
member-payment-event.js | ||
member-product-event.js | ||
member-status-event.js | ||
member-stripe-customer.js | ||
member-subscribe-event.js | ||
member.js | ||
mobiledoc-revision.js | ||
newsletter.js | ||
offer-redemption.js | ||
offer.js | ||
permission.js | ||
post.js | ||
posts-meta.js | ||
product.js | ||
role.js | ||
session.js | ||
settings.js | ||
single-use-token.js | ||
snippet.js | ||
stripe-customer-subscription.js | ||
stripe-price.js | ||
stripe-product.js | ||
tag-public.js | ||
tag.js | ||
user.js | ||
webhook.js |